MAMEinfo and MAMEUI-inifiles
----------------------------


MAMEINFO.DAT

* Updated to MAME 0.290GIT - http://git.redump.net/mame/log/

* Added Source/Listinfo changes

* Newest Bugs (27th Nov)

* Fixed BIOS and DEVICE entries

* Added PCSX2x6, SM2-Emu and Xemu Chihiro.

* Added/Reorganized 'Recommended Games'

* Fixed 'Recommended Games' descriptions.

* Fixed Mameinfo.dat infos




0.290GIT

- New games: After the War, Cocomania (CC, Magnet System), Crime Patrol (USA, 3DO hardware), Dodge Ball (CE, Magnet System), Double Dragon (EC, Magnet System), Drive Em Krazy, Flying Shark (4.0, Magnet System), 'From TV Animation One Piece - Nakama o Tasukero! Dr. Chopper', 'GeGeGe no Kitarou - Taose! Seiyou Youkai Gundan', Imohori Penta, Joker Rush!! (SMH-803-J), Monte (4-players Spanish cards game. Prototype, encrypted), Phoenix Joker (STP, UCGS-80 PCB), Pocket Monster - Sonans ga Koronda!, Quest for Fame (Japan, QF2/VER.A), Rula (6-players roulette, encrypted), Shamisen Brothers (KT-SB2 Ver.A), Spitfire (set 1), Star Attack, Starline (VDK 1.4), Super Contra (SB 'slow', Magnet System), Super Mini-Boy (BE-4000/SMB), Toukyuu System Poker (ROM: NO4313) and World Wars (ED, Magnet System)
- New Working games: 1942 (bootleg on Vulgus hardware), 4 in 1 MAME bootleg (PLZ-V001), 4 in 1 MAME bootleg (ver 3.00, PLZ-V014), 48 in 1 MAME bootleg (ver 3.09, HPH-V000, alt flash), 60 in 1 MAME bootleg (ver 3.00, ICD-V000), Acchi Muite Hoi Battle (Japan, ver 1.04), Amidar (Cirsa bootleg), Apache 3 (Kana Corporation license, rev G), Apache 3 (rev E), Apache 3 (rev F), Aracnis (bootleg of Scorpion on Moon Cresta hardware, set 2), Arcana Heart (Japan), Arcana Heart Full (Japan), ATV Track (set 1), ATV Track (set 2), banpresto_tomy_h8s.cpp (all games except for anpanmct), Beat Player 2000, Beauty Block, Beyond Kung-Fu (location test), Boo Boo Donpatchi (Japan, ver 1.01), 'Centipede / Millipede / Missile Command (rev 1.03)', 'Centipede / Millipede / Missile Command / Let's Go Bowling (rev 1.62)', Cherry Master '99 (QL-1 V9B.00), Cherry Master '99 (QL-1 V9B.00, Cleco, Hand Count), Cherry Master '99 (QL-1 V9B.00, USA long PCB), Cherry Master '99 (QQ-1 V9B.00, bootleg), Cherry Master '99 (QQ-1 V9B.00, Cleco), Columns '97 (JET 961209 V1.000), Cycle Warriors (rev B), Cycle Warriors (rev C), Cycle Warriors, Dangerous Curves (Ver 2.2 J), Dangerous Curves (Ver 2.9 O), Dash! A.3.7 (ver 1998/10/22), Dash! A.3.7 (ver 1996/11/18), Desert Wars (bootleg of Battlezone), Docchi Fighter (Japan, ver 1.02), Dojokko Tsukami (Japan, ver 1.02), DT7 (prototype), Donggul Donggul Haerong, Dracula's Castle (Magnet System), dyna_cpu91a.cpp (several), Dynamic Chance (Final Type3 DEP ver 1.1), Dynamic Chance (Final Type3 DEP ver 1.1, alt), Dynamic Plus One (Dynamic SP, AV ver 1.00), F-1 Super Battle, Fisherman Battle (Japan, ver 1.03), Gaelco Football, Grand Striker: Human Cup (Americas), Grand Striker: Human Cup (Europe, Oceania), Grand Striker: Human Cup (Japan), Happy Fish (V2 PCB, 302-in-1), Haunted Hunter (Japan, ver 1.00), Hide & Seek, High Seas Havoc, Higurashi no Naku Koro ni Jong (Japan), IQ Pipe, Loto-Play (MC68705, set 1, with roulette), Itazura Cockroach (Japan, ver 1.02), Jin Ji Bao Xi (Top-7, V8.8, set 1), Jin Ji Bao Xi (Top-7, V8.8, set 2), The King of Fighters - Fuchou Zhi Lu (Chinese/English), The King of Fighters 2002 - Unlimited Match (Japanese/English), Killer Instinct (SNES bootleg with overlay), Kong Ball (prototype), Last Bronx (Export, Revision A), Last Bronx (USA, Revision A), Last Bronx: Tokyo Bangaichi (Japan, Revision A), Let's Dance, Loto-Play (MC68705, set 2, with roulette), Loto-Play (MC68705, set 3, with roulette), Loto-Play (PIC16C54, with roulette), Mad Dog II: The Lost Gold (USA, 3DO hardware), Maldaliza!, Marine Date, Medal Mahjong Moukari Bancho (Japan, 2007/06/05 MASTER VER.), Mogu Mogu Hammer (Japan, ver 1.01), Mortal Kombat 3 (SNES bootleg with overlay), Mr. Kicker (SEMICOM-003b PCB), Office Yeoin Cheonha (version 1.2), Orbatak (USA, prototype), Power Ball (prototype), Racin' Force (ver EAC), Racin' Force (ver UAB), Rebus, Reel Magic (Impera, INT v1.0-IMP), Road Riot's Revenge (prototype, Jan 27, 1994, set 1), Road Riot's Revenge (prototype, Jan 27, 1994, set 2), Road Riot's Revenge (prototype, Sep 06, 1994), Rodeo King (Japan, ver 1.00), ROLLing eX.tre.me (US), Round Up 5 - Super Delta Force, Royal Poker 2 (Network version 3.12), Shippe Champion (Japan, ver 1.02), Shootout at Old Tucson (3DO hardware), Smashing Drive (World), Smashing Drive (UK), Smashing Drive (Spain, Portugal), SNES 4 Slot arcade switcher (NBA Jam), Stop, Tetris + Cherry Master (+K, Canada Version, encrypted), Texas '99 (QL-1 V9B.00), Texas '99 (QL-1 V9B.00, Cleco, Hand Count), Texas '99 (QL-1 V9B.00, USA long PCB), Texas '99 (QQ-1 V9B.00, bootleg), Texas '99 (QQ-1 V9B.00, Cleco), Wan Wan Dash (Japan, ver 1.01), Wanikko Punch (Japan, ver 1.20), Wanpaku Fishing, Wanpaku Pirates (Japan, ver 1.00), Wheels & Fire, Wild Witch (Export, 6T/12T ver 1.57-TE), Wink (newer), Wink (older, bugfixed), Witch Game (Export, WG12T1F), The X-Files, The X-Files (censored, Korea), Yori Jori Kuk Kuk and Youma Ninpou Chou (Tecfri license).
- New games booting/playable: 19in1, baoqingt, cafebrk, cafedoll, cafedollg, cafepara, crospuzl, ddz.cpp games, dyna_dc4000.cpp, extradrw, gamebox, gegemdb, jnero, kd2001, magictg, opengolf, ougonhai, psattack, ramstar, rhnation, ringball, ringout, sealy_z80.cpp games, slotouji, specfrce, tongzi, v0bowl, westerns and xyxcxysj. 
- New Non-Working games: Aiji Baozang, Aroma Club (J 970611 V1.000), Burning Striker, Capriccio Star RS, Chaoji Tuolaji (V112CN), Clone King - Kelong Wang, Clone King 2 - Kelong Wang II, Club San Marino (V1.10 Italy, low resolution), Dajia Lai Zhao Cha, Dice ROM (Japan, Ver.A2), Dou Dizhu (Sealy), Dou Dizhu Zhi Caishen, El Tesoro del Faraon (V1.1, Catalonia), Euro Draw (V1.10, low resolution), Fengkuang Dou Dizhu (Z80-based hardware), Futsala, The Game Machine (V1.21, medium resolution), Gameworld (OS332 V6.06 VIE: FruitStar-DELUXE V6.04 / Flush Card V6.05), Haowan Dou Dizhu, Hello Kitty Flower Bingo, Huangjin Da Manguan (China, V739C), Huozhuo Niqiu, Jolly Poker II (V1.20 Kaernten, low resolution), Jungle Hero (Japan 970627), Laizi Dou Dizhu, Liberty Card (v1.02), Long Hu Zhengba III Jiaqiang Ban (V200C5M), Lucky 168, Lucky Fun (V2.20 Schweiz, high resolution), Mahjong Emperor (Japan, ver. 1.01), Mahjong Renchan King (Japan, T045-RB-01), Mahjong Renchan King Light Version (Japan, T046-RB-01), Mahjong Sengoku Tamashii (Japan, T042-RB-04), Mahjong Taketori Densetsu Deluxe (Japan, T022-PC-004), Mahjong Waratte Ii Tomo (Japan, ver. 1.00), Mingxing 97 II Tebie Ban, Miracle Joker, Miracle Stadium, Multigame (Covielsa), Neo Print - 1997 Winter Version (Japan) (T3e), Neo Print - Chicken Ramen Version 2 (Japan), Neo Print - Dalmatian Version (Japan), Neo Print - Mini Mini Animals (Japan) (T4i 3.07), Neo Print - Obake Yashiki Version (Japan) (T4i 1.03), NeopriSP Street Collection (Japan), New Treasure City (Italy, Ver. 1.6), Premier Eleven (prototype), Print Club 2 Banpresto Bono Bono (J 970925 V1.000), Print Club 2 Banpresto Ultraman (J 970604 V1.000), Print Club 2 Evangelion (J 970319 V1.000), Print Club 2 Lamb Chop and Friends (J 990520 V1.000), Print Club 2 Mr. Bean (J 980325 V1.000), Print Club 2 Tsubuyaki Shiro (J 970708 V1.100), Print Club Nightmare Before Christmas (J 980717 V1.000), Print Club Sony Creative Ver.5 (J 980721 V1.000), Print Club Sony Creative Ver.6 (J 971006 V1.000), Qiangqiang Dou Dizhu, Qiaoji Da Maoxian (V101CN), Qiaoji Da Maoxian 3: Huanle Qiao Qiao Qiao (V100CN), Shenji Miaosuan (Mainland version 2.0), Showa Retro Print Club 2 (J 980217 V1.000), Slot Battler (J 020703 V1.000), Sugo Rock Spirit, Super Bonus King, Super Magic Flight (Japan, v1.0), Sweet Land 4, Sweet Street, Taishan Wuxian (V309CN), Tianwang Zhi Fenghua Xueyue (v. 1.2), Triple 7 Bar A (Ver. 1.01J), Triple Draw (V1.09, high resolution), Tropical Fruits (Eagle, v11.01), unknown 960606-5 based machine (set 2), unknown Hai Wei Technology game, Wakeng (Z80-based hardware), X-Men vs. Street Fighter (bootleg of Mega Drive version), Xibu Niuzai, Xin Fengkuang Dou Dizhu and Zhi Duo Xing.
- New clones: 19 in 1 MAME bootleg (BAR-V000, no protection), 60 in 1 MAME bootleg (ver 3.00, ICD-V000, no protection), Aka Mahjong (Double Bet, ver 1 19), Aracnis (bootleg of Scorpion on Moon Cresta hardware, set 3), Bai Bian Dou Dizhu (set 2), Big 10 (1986, System Make, set 2), Big Boss (Ver. Alpha 208), Blades of Steel (version P, Trackball), Booby Kids (4.1, Magnet System), Chaoji Da Manguan II (China, V641C), Chaoji Dou Dizhu (V216CN), Checkmate (set 2), Cherry Bonus III (ver.1.40, set 8), Cherry Master '91 (ver.92311, German hack), Club San Marino (V0.20 Italy, low resolution), Dingji Dou Dizhu (set 2), Dou Dizhu II (set 2), Dou Dizhu II (set 3, ESAM), Dou Dizhu II (set 4, ESAM), Dou Dizhu II (set 5, ESAM), Dou Dizhu II (set 6, ESAM), Dou Dizhu II (set 7, I2C EEPROM), Double Bet (bootleg of Janyou Part 1, set 2), Double Crown (v0.9.5), Double Dragon (DD TEST 15/6/88, Magnet System), Dragon Ball Z - Bucchigiri no Chou Kessen (ver. 1.0), Dynasty (1992, V1.2), El Estivador (Spanish bootleg of Port Man on Galaxian hardware, set 2), Evolution (US), Exciting Fever (set 2), Exzisus (EX 2.0, Magnet System), Fever Chance (W-6, Japan, MC-8123), Fever Chance (W-6, Japan, MC-8123, New Lucky 8 Lines title), Fever Poker (pk5-07sb, encrypted), 18x Flaming 7's (500 bonus, GSxx: American Gold, Star Sevens, Cherry Bonus, Nevada Numbers), Frogger (Sega, set 4), Fruit Star Bonus (Ver 8.20JP-STK, Steiermark), Fruit Star Bonus (Ver 8.20MB-STK, Steiermark), Fruit Star Bonus (Ver 8.20MB-VIE), Fruit Star Bonus (Ver 8.22MB-VIE), Fruit Star Bonus (Ver 8.24MB-VIE, set 1), Fruit Star Bonus (Ver 8.24MB-VIE, set 2), The Game Machine (V0.10, medium resolution), The Game Machine (V1.02 Kaernten, medium resolution), Gameworld (OS332 V5.52 VIE-M: Flush Card V5.18 / Eight 4 Fun V5.18 / Lucky Lemon V5.02 / FrStarBon12_K5 V5.58), Gameworld (OS332 V5.57 VIE-M: FruitStar-DELUXE V5.22 / Eight 4 Fun V5.19 / Lucky Lemon V5.03), Gameworld (OS332 V5.58 VIE-M: Flush Card V5.23 / Eight 4 Fun V5.23 / Lucky Lemon V5.05 / FrStarBon12_K5 V5.64), Gameworld (OS332 V5.62 VIE-M: FrStarBon12_K5 V5.68 / Lucky Lemon V5.10 / Flush Card V5.26 / Eight 4 Fun V5.26), Gameworld (OS332 V6.03 VIE-M: Flush Card V6.03 / Eight 4 Fun V6.03 / Lucky Lemon V6.03 / FrStarBon12_K10 V6.03), Gameworld Burgenland (OS332 V5.45 BGL: FruitStar-DELUXE V5.15 / Flush Card V5.15), Golden Joker (Ver 16.2.02VIE), Golden Poker Double Up (alt set), Golden Poker Double Up (PAN Electronics), Gun & Frontier (US, prototype), Gunmen Wars (World, GM2 Ver. B), Hotdog Storm (bootleg), Ichi Ban Jyan (Ver 3.31), Ikari III - The Rescue (US, Rotary Joystick, set 2), Jack Potten's Poker (set 18, Falcon CPU brick), Jolly Poker II (V1.16 Kaernten, low resolution), Karnov (World, rev 5), Knuckle Joe (set 3, V-00), Koi Koi Shimasho - Super Real Hanafuda (E51-00001-A PCB), Lian Huan Pao - ATT II (Z180 audio CPU), Long Hu Zhengba Gao Qing Ban (V104CN), Loto-Play (MC68705, set 4, with seven-segment display), Lucky Lady (ASD), Lucky Roulette Plus (6-players, Spanish, set 2), Mahjong Bakuhatsu Junjouden (Japan, older HW), Mahjong Chuuka Ken (China?), Mahjong Dai Chuuka Ken (Japan, D110), Mahjong Gal no Kaika (Japan, prototype), Mahjong Reach (Ver. 1.00, bootleg set 2), New Double Bet Mahjong (bootleg of Royal Mahjong, set 3), New Double Bet Mahjong (bootleg of Royal Mahjong, set 4), New Double Bet Mojhong (ver 3.6), New Lucky 8 Lines (set 24, W-6 for W-4), New Lucky 8 Lines (set 25, W-4, Eagle, licensed by Wing, MC-8123), New Puck-X (set 2), Pac-Man (VCC hack), Paradise Deluxe (set 2), Poker Master (CUBA 1997, dual game), Police Trainer (Rev 1.2), Queen Bee (Ver. 124A-C2), Royal Poker (V1.52, low resolution), Royal Poker (V1.54, low resolution), Royal Poker (V1.70, high resolution), Royal Poker (V1.70, low resolution), Royal Poker (V2.00, low resolution), Royal Poker (V2.10, low resolution), Russian Roulette (old revision), Silk Worm (World, conversion), Skat TV (S1), SNES 4 Slot arcade switcher (1994), Solar Fox (cabaret), Solitaire (version 2.5, set 2), Spitfire (set 2), Star Takkyuubin (Japan), Starline (VDK 0.9), Super Contra (CC, Magnet System), Super Contra (CE, Magnet System), Super Dou Di Zhu Special (V126CN), Super Dou Di Zhu Special (V127CN), Super Dou Di Zhu Special (V128CN), Sweet Gal (Japan 850410 SG 0-01), Triple Draw (V1.06, low resolution), unknown 'Space Invaders' gambling game (encrypted, set 3), VS Computer Mahjong (hack), Wild Witch (Export, 6T/12T ver 1.0), Wink (older), Witch Game (Export, WG12T1E), Witch Game (Export, WG12T1FL), Witch Game (Export, WG6T1E), Witch Game (Export, WG6T1F), Witch Game (WG12T1H), Witch Game (WG12T1L), Witch Game (WG6T1H), Witch Game (WG6T1L), World Class Bowling Deluxe (v2.01) and Yie Ar Kung-Fu (version J)
- New AGEMAME games: 18+, 493, Action 4U SL, Action Total (S7), Arcon, Atlantis (S6), Baba Jaga (S17), Baron CC (S5), Beach Club (S4), Bel Ami (S3), Big Risc (S5), Big Risc (S6), Block Buster, Boss, Bully (S11), Caipi (S7), Carat (S5), Colosseum (S3), Daxx (S4), Daxx (S8), Diamant Krone (P2), Diamant Krone (S5), Duo, Eleven (S3), Endspiel (S9), Fire Game (S3), Foxx (S5), Freegames (S11), Giga CC (S5), Gloria SL (S4), Gloria SL (S5), Gloria Super, Graffiti, Graffity, Hard Rock, HERO, Herold (P5), Hexen Tanz, Hot Slot (S5), Jet Set (S5), Jumpin Jack SL, King Classic SL (S2), King Classic SL (S3), King Play (P5), King Royal (P1), Lanzelot (S5), Limbo (S3), Lord CD (P5), Lord CD (S2), Lord CD (S5), Luxx Pro, M 200 (S5), Mach Mehr, Monarch (P1), Monarch (P5), Monarch (S6), Monopoly, Neon (S12), Neon (S13), Oxigen (S7), Phantom (S7), Piratengold (S4), Piratengold (S5), Play Time (S11), Quick Risc (S4), Radio Times (Game Number 95400017), Radio Times (Game Number 95400047), Radio Times (Game Number 95400063), Radio Times (Game Number 95401063), Radio Times (Game Number radtimes, bootleg), Rex Super (P5), Rex, Round Runner (P1), Roxy Classic, Roy CC (S4), Scooter (S2), Sky (S6), Speed Run (S3), Speed Run (S4), Sunfair XL (S2), Sunfire (S5), Super Jump (E6), Super Mac (S5), Telly Addicts - The New Series (Game Number 95400007), Telly Addicts - The New Series (Game Number 95401023), Telly Addicts (Game Number 95400005), Telly Addicts (Game Number 95400013), Telly Addicts (Game Number 95401021), Tex Mex, That's Cool, Titan Pro, Top of the Pops (Game Number 95401101), Total Genial (S11), Tropical (S3), Twister II (S3), Victoria, Windsor (S2), Winplay SL and X-Cross
- New PinMAME games: Super Star (Recreativos Franco, set 3) and Super Star (Recreativos Franco, set 4)
- New drivers: blzntrnd.cpp, bosco.cpp, caprstar.cpp, cmltgame.cpp, cobracom.cpp, digdug.cpp, eagle_9715a.cpp, eagle_9619b.cpp, eoforce.cpp, eurotec.cpp, futsala.cpp, ghostb.cpp, highway_m68k.cpp, hkfbingo.cpp, lastmisn.cpp, lotoplay_prog.cpp, mpu2000.cpp, octavian_g650.cpp, oscar.cpp, royalpkr.cpp, sbking.cpp, sealy_z80_8bpp.cpp, spitfire.cpp, srdarwin.cpp, technik2000.cpp, tstech_vr0.cpp, vp50.cpp and xevious.cpp
- New devices: 136094_0004a, acclaim_pinkeye, adsp2181ekl, alps_dpg23, am2910, amd_29f032, amd_29lv160db_16bit, amiga_a4091, amiga_adscsi2000, amiga_adscsi2080, amiga_clockport, amiga_clockport_eth64ii, amiga_clockport_mp3at64, amiga_clockport_rrnet, amiga_clockport_silversurfer, amiga_cybervision64, amiga_dkb3128, amiga_peggyplus, anpanman_card, anpanman_reader, anpanman_touch, arm1, arm2, arm250, arm3, arm60, arm60_be, arm610, arm610_be, arm710a_be, arm720t, astro_v102px, at_ssrt, atari_pbi_slot, atmega1284, atmega32u4, att7213, ax51101, ax51102, ax51201, bkungfu_mcu, bsbonanza_eeprom, c1350, c1541rp, c1541tt, c1571dd3, c3022, c4022, c6400, c8023p, c8028, cat6613, cdi_dvc_slot, cdi_dvc_vmpeg, cdi220_lcd, cdipcb, cdr52, cdu76s, cga_chameleon, cga_pcxport, cgp220, citizen_120d, com20020, cr504, crystal_hle, cs8900a, ctronics_cgp220, cv1k_touchscreen, cx5510, de101, de156, dgpix_pr1, dps1101, eeprom_dongle, et4kw32p_pci, et4kw32p_vga, f3851_psu, f3853_smi, f3856_psu, f38t56_psu, f8, fdc37c669, floppy_525_compucolor, fs8806, funkball_voodoo_pci, gamebox_pad, gba_cart_slot, gba_rom, gba_rom_3dmatrix, gba_rom_boktai, gba_rom_drilldoz, gba_rom_eeprom, gba_rom_eeprom64, gba_rom_flash, gba_rom_flash_rtc, gba_rom_flash1m, gba_rom_flash1m_rtc, gba_rom_sram, gba_rom_wariotws, gba_rom_yoshiug, gsc38gg307, h8322, h8323, h8324, h8325, h83256, h83257, hantro_g1, hardlock, hkuranai_printer, hkuranai_rtc, hp9133v, hp9133v004, hp9133xv, hp9133xv_fdd, hp9133xv_hdd, hp9133xv010, hp9134xv, hynix_h27uag8t2a, i2c_ds1307, i486sx, i82750db, i82750pb, igs003, igs38_i2c, igs38_i2s, igs38_sdhc, igs38_spacc, igs38_spi, igs38_timer, irl_proga, isa_mc0109a, isa8_ioc_silverball, jalfpu, jvs13844, jvs13938, jz4755, k056734, kaneko_pisces_hle, kmkide_ata, m146805f2, m68hc05_sci, m68hc05_spi, mach64vt, macronix_29lv320etti, mali200, mb8881, mbm29dl161te_16bit, mbm29lv160b, mc68340dma, mcd251, mcs801, mcs810, mcs820, medal_io, mediagxm, mm5740aae, mn1880, mn1880023, mn18801a, mn664031, model3_real3d_dma_pci, model3_real3d_pci, model3_real3d_renderer, model3_rom_pci, mos8521, mpc105, mpc106, mps1000, mps1224, mps1230, mps1270a, mps2020, mps801, mps803, msdsd1_ieee488, msdsd2_ieee488, ncr53c710, ncr53c810, ncr53c810_pci, nexus3d_key, nintendo_nvc, nscsi_cb, nt3570, nt3580, pc_gamepad, permedia2v, pgm3_io, pic16f628a, pic16f648a, pl080, pls105, pmx1core, powervr250, qic02_connector, quadencoder, quadmouse, r6511, ram_slot, ramstar_deal_eeprom, reelmag_rtc, roland_rpp324, rs232_cgp220, s3511, s35180, s35390a, s3c2400, sa110, sa110_be, saturn_dcc, saturn_vdp2, scsi_acb4070, scsi_d9060hd, scsi_e01_hd, scsi_omti5100, sd2iec, sealy_z80_esam, sega_315_6289, seibucop_v1, sf7000, sh7014adc, sh7014wdt, sh7045f, sh7709scif, sharp_lh28f800sg, ss9804, ss9904, stda, sti3400, tgui9680_pci, tjf_cryptomem, tjf_io, tlc5620, tmek_xga, tmp95c061_serial, tms320av110, toshiba_tc58128ft, toshiba_tc58256ft, toshiba_tc58512ft, toshiba_tc58v64bft, unihammer, upd7720, va_noise, vcs_cdgames, vcs_gunstick, vcs_inkwell184c, vcs_lightpen_left, vcs_lightpen_right, vcs_lightpen_up, vcs_magnum, vcs_stacklr, vic_pl190, vic_pl192, vic_upd800468, vic1525, viper_host, viper_voodoo3_pci, vt82c585vp_host, w65816, wd1010, wd1015, wd1015pl5402, xburst, ygv625, zorro3, zorro3_slot and zr36050
- New DATs: GameInit.dat (https://www.progettosnaps.net/gameinit/)
- CPU
  . ADChips SE3208: Correct SWI opcode. Claude Opus 5.5 identified the problem (se3208\se3208.cpp).
  . Analog Devices ADSP21062 'Sharc': Simplify execution of rotate instructions (no need to switch on sign). Added macro to force unsigned register readout. Fixed off-by-one errors in circular buffer wrapping (sharc\sharcops.hxx).
  . Analog Devices ADSP-2100: Fixed order of operations on shift with internal data register move (adsp2100\adsp2100.cpp).
  . Analog Devices ADSP-2181: Added internal BDMA, timers, SPORT support and SPORT transmit autobuffering to the ADSP2181 (adsp2100\adsp2100.cpp).
  . ARM7
    . Bugfixes and updates: Fixed multiple issues with ARMv3 parts that dynamically switch between 26 and 32 bit modes. Added ARM610 model for RISC PC 600. Allow ARM926 to execute code from the instruction TCM. Debugging assisted by Claude Opus 5. Added DEC SA110 variant with correct flags, (MESS) sarpc_j233 boots (arm7\arm7.cpp). Simplify handling of unaligned reads (arm7\arm7.cpp).
    . Many fixes: SMLA* instructions were doing the wrong operation. QDADD/QDSUB weren't saturating the operand. Some forms of Thumb BLX were not decoded properly. BKPT was mis-decoded as MSR, which trashed CPSR. Thumb ADC ignored the incoming carry flag. Data aborts ignored the high vector flag. BLX LR in ARM mode did things in the wrong order. MRC with R15 as the destination was supposed to update flags, not the PC. LDR* R15 set the PC to the wrong value. Some undefined opcodes were wrongly executed as LDR/STR. Undefined Thumb instructions weren't generating the UND exception. v5TE DSP ops worked on v4 emulated parts. PLD is v5TE, not v6. LDM*/STM* with an empty register list are NOPs. Disassembler was wrong for SMLA* and SMUL*. ARMv3 was mishandling CP15 writes. Tested on a bunch of drivers including the (MESS) newton.cpp (NewtonOS now boots), the 39in1.cpp gang and more. Audit and debugging assisted by Claude Opus 5 (arm7\arm7.cpp).
    . Align the PC corectly for ARM vs. Thumb mode on return from an IRQ/exception. Fixes (MESS) Nintendo DS booting into the dashboard. Bug tracing assisted by Claude Fable 5 (arm7\arm7ops.cpp).
    . Fixed 26-bit mode regression introduced by the previous NDS fix (arm7\arm7ops.cpp). Completed the recent 26-bit mode work so this core is now the single source for pre-AArch64 ARM implementations. Also fixed LDM with a banked base in the list, necessary for RISC OS 3's FPEmulator (which was broken on the old core too, for a different reason). Fixed LDR/STR R15 handling in 26-bit mode, which tripped up the aa680 boot ROM. Claude Fable 5 assisted with planning, the mechanical refactoring of the drivers, and the generation of a "before and after" test suite (arm7\arm7.cpp).
    . Fixed LDR/STR order of operations and don't nuke the registers when resetting. Makes RISC OS much happier (arm7\arm7.cpp and arm7\arm7ops.cpp). ARM710T is a 32-bit-only part with Thumb, not a 26/32 hybrid. Fixes (MESS) Psion 5 MX PRO (arm7\arm7.cpp). Charged the proper cycle count for shifts where the count comes from a register. Fixes (MESS) tascr30 speed detection (arm7\arm7ops.cpp). Use helper function for disassembling register lists. Refactor shift count disassembly helper (arm7\arm7dasm.cpp).
    . PGM3 ARM7/ARM7v6 improvements
    . Fixed ALU operations on R15 in ARM mode and LDR/LDM to R15 on models without Thumb. Fixes the TIME application crashing on (MESS) Psion5MX. Debugging assisted by Claude Opus 5.5 (arm7\arm7ops.cpp).
    . Detect stores into the current prefetch window and execute from the prefetch. Fixes GBA Classic NES emulator detection. Single-instruction mode (-debug) will defeat this since there's effectively no prefetch in single instruction mode. The ARM DRC now properly handles prefetched bytes affected by enabling the MMU. Fixes (MESS) psion7 boot. Debugging, restructuring and mass regression testing were assisted by Claude Opus 5.5 (arm7\arm7.cpp). Fixed restoration of the base register during an abort (arm7\arm7drcops.cpp and arm7\arm7ops.cpp).
  . Atmel ATmegaXXXX
    . Added pin-change/external interrupts, real GPIO DDR/PORT semantics and full-duplex SPI shifting. Added PCINT0-2 and INT0/INT1 support: pin_change<Port>() latches PCIFR/EIFR from a possibly mid-instruction external write, and the actual interrupt is taken at the next execute_run() instruction boundary. INT0/INT1 sense mode (low/change/falling/rising) is read from EICRA; PCIFR/EIFR are write-one-to-clear. Added ddr_w<Port>(): each port's DDR is now tracked and drives the gpio_out callback together with PORTxn, so an input-configured pin floats (reads as 1) instead of being pulled by the last PORT write. Rewrite spi_tick() to actually shift MISO into SPDR (previously only MOSI was ever driven): samples MISO on the SCK rising edge, supports DORD, and sets SPIF/raises the SPI interrupt when the byte completes. spdr_w() now clears SPIF and resets the shift state on each write, and disable_spi() actually stops an in-flight transfer. Added sleep mode (m_sleeping) and ATmega1284 device support. Misc: timer0 normal mode now actually counts/overflows instead of logging "unimplemented"; EEARH masking goes through eearh_mask() instead of a fixed EEARH_MASK. Updated comments. Provide devcb-compatible port bit writes. Assisted by Claude Sonnet 5 and GPT-5.6 Sol (avr8\avr8.cpp and avr8\avr8ops.hxx).
    . Various fixes. Added basic ATMega32u4 support. Allow the debugger to break in while executing sleep opcode. Obey SMCR sleep-enable flag when executing sleep opcode. Added basic fast PWM timer support for timer 0. Replaced common_reset() with proper superclass call to fix initialization. Removed ATTiny15 because no driver uses it, and the underlying implementation is completely wrong (avr8\avr8.cpp).
    . IRQ handling overhaul: Implemented IRQ priority checks so that only one interrupt fires at the end of a tick. Split update_irq() into set_irq() and clear_irq(), although update_irq() stays on for ambiguous cases (code still needs work). Replaced m_interrupt_pending with a full array of IRQ flags. Replaced the much copypasted update_interrupt() with an interrupt table rebuilt at device_start(), and add m_vector_size_in_words. Added vector table for ATMega640 and friends, instead of using the ATMega644 vectors for those devices. Don't update IRQs for unimplemented timers. Avoids crashing MAME and unwanted IRQs firing, which can crash the program. Delay interrupt for one instruction after SEI (avr8\avr8.cpp).
    . Speed-optimize interrupt handling. Claude Opus 5.5 cherrypicked changes out of a megabranch, refactored them to work with master, added its own optimizations and benchmarked the changes against uzebox. Map SRAM for the ATMegaX0 parts (avr8\avr8.cpp).
    . Fixed SPI data register, interrupt acknowledge, SRAM and MCUSR. SPI: Keep the outgoing byte in a separate shift register so SPDR reads return the last received byte while the next transfer is in progress. Interrupts: Drop a pending interrupt whose flag software cleared (write-one-to-clear) while global interrupts were disabled. SRAM: Map the internal SRAM of the ATmega88/168/328/32U4/644/1284 in each chip's internal map, so 0x100-0x1ff is not part of the register file cleared on reset. MCUSR: Set PORF on the first reset and EXTRF on later resets, keeping the other flags until software clears them. Ai disclosure: the code, the test firmware made with Opus 5.5 (avr8\avr8.cpp).
    . Removed data_maps from avr8 drivers as the avr8 core devices now add SRAM themselves. The one device where data_map remains is mgt_multigame as it is needed either for the external SRAM or the external ROM. The ATMega2560 has an external memory mode which drives the GPIO ports to access data from 0x8000-0xffff. Until it's proven that mgtmg9 does not use this mode, we leave this placeholder there for now. Claude Opus 5.5 mame-reviewed it and pointed out the possible external SRAM use in mgmt9.
  . Cirrus Logic GD5401/GD5428/GD5430/GD5446
    . Fixed unchained memory access and system BitBLT, fixes rendering issues (including text and image drawing) for the NEC PC-9801-96 Accelerator Board and improves overall Cirrus Logic CL-GD5428 emulation. Use BIT() instead of & to check the BitBLT start flag (video\pc_vga_cirrus.cpp).
    . Fixed color expansion in write modes 4 and 5 of GD5428. Previously the write modes 4/5 colour expansion paths selected the expansion width from the active display format, but a 16-bit expansion can be in effect while the display format is 8bpp and vice versa. The 8-bit/16-bit expansion width is now determined by the GRB reg instead of the current display format. SR2 is now also honoured as the pixel mask for the 8 expanded pixels. This fix resolves the issue where text displayed incorrectly when using 16bpp mode with GD5428 and Windows 95's builtin cirrus driver (video\pc_vga_cirrus.cpp) (ID 09343).
    . Fixed 8x8 BitBLT pattern addressing and simplify pattern handling (video\pc_vga_cirrus.cpp). Added GD5430 bitmap MMIO window, SR17 and fixed transparency compare. Fixed GD5430 MMIO and implement BLT write masking. Fixed crossed implementations of ROP 0x90/0xda. Document GD5430 BitBLT register mapping (video\pc_vga_cirrus.cpp).
    . Fixed HW cursor in 64x64 (video\pc_vga_cirrus.cpp)
  . Dallas DS5002FP: Fixed some bugs: Memory partitioning (regression fix from MAME 0.282: Modernization step 1+2): The partition address now uses all four PA3-PA0 bits of MCON. It previously used only bit 4, so the partition could only ever be 0x0000 or 0x1000. This was a regression from the Oct 2025 "mcs51: Modernization step 1" refactor; older MAME used (MCON & 0xf0) >> 4. External interrupts (regression fix from commit #3b86b1ab07124e613dd276dcf09f94813a9b4197): handle_irq() now passes INT0, INT1, T0 and T1 on to mcs51_cpu_device::handle_irq(). Before, the DS5002FP override handled only the power-fail line and silently dropped every other input line. Power-fail warning (PFW) interrupt: m_num_interrupts is now 6, and the forced highest priority goes on index 5 (it was wrongly on 6). The interrupt is now taken at vector 0x2B. Before, a set PFW made check_irqs() find a pending interrupt with no source, and the CPU jumped to address 0x0000, effectively a reboot. The PFI line is now level-sensitive: PFW is set while the line is asserted. It used to test the INT1 transition bit instead of its own line. Reading PCON now returns PFW before clearing it; previously it always read 0. The flag is set again straight away if the power-fail line is still active, and debugger reads have no side effects. RPCTL: Reads return all implemented bits plus the RNR flag in bit 7. Before, only RNR was returned, so PUSH RPCTL/POP RPCTL and read-modify-write instructions lost EXBS, AE, IBI, DMA and RPCON. Bit 6 isn't implemented: it reads as 0 and writes to it (and to read-only RNR) are ignored. EXBS, AE, IBI, DMA and RPCON are cleared on reset; RG0 is kept. This runs after the NVRAM load, so it applies to the restored value. The RPCTL read/write logerror calls are removed or moved under LOG. Goldart toggles EXBS thousands of times per second, so they would flood the log. Save states: MCON, RPCTL, TA, CRC, CRCR, RNR and RPS are now saved. Before, loading a state left EXBS and the partition settings at whatever value they had before the load. The fixes are needed for improving Gaelco Goldart emulation (that's how I've tested them). I've tested almost every other game using a Dallas DS5002FP without seeing any regression. Assisted by Claude Opus 5.5 (mcs51\ds5002fp.cpp).
  . Dynamic Re-Compiling
    . drccache: Fixed typo'd array indexing in the DRC cache allocator. Fixes Github #16155. For PowerPC 603, this manifested as scribbling on memory 512 KiB after the end of the CPU device class. MIPS and SH were doing the same thing at different wrong offsets. AI explanation: "drc_cache::alloc() and alloc_near() push leftover alignment padding onto the free list, but index the free array with bucket (the requested size's bucket) instead of padbucket (the padding's bucket, the one that was range-checked). For any request over 1 KiB that is a wild 8-byte read and write at bytes - 8 past the 128-entry free array inside the CPU device object". Claude Fable 5.1 assisted with debugging the issue (cpu\drccache.cpp). Added more templates for allocating objects in different kinds of memory (cpu\drccache.h).
    . drcbex64.cpp: Fixed failure to set roundiing mode in some cases. Don't leave dangling code handles when cache is exhausted while generating code for a block (partially addresses GitHub #16826) (cpu\drcbex64.cpp).
    . drcbearm64: Use full division for FRECIP like x64 and C do. Fixes the camera having a seizure in some Model 3 games. Debugging was assisted by GPT-6 Astra (cpu\drcbearm64.cpp). Fixed FLOAD/FSTORE with a non-immediate index clobbering the base address. The index was sign-extended into TEMP_REG1, which already held the base address, so the access went to index + (index << scale). Use TEMP_REG3 for the index, as emit_loadstore_address_setup does. Found, diagnosed and reviewed with Claude Opus 5.5 and Claude Fable 5.1. Use temporary register 2 as scratch index register for floating point load/store (cpu\drcbearm64.cpp).
    . drcuml: Added some safety features to hash_[gs]et_codeptr (cpu\drcuml.cpp). Overhauled interface for allocating memory. Made the DRC UML state object responsible for constructing and allocating the cache. Don't provide direct access to the cache outside the code generation module. Allow allocation of back-end to be deferred (cpu\drcuml.cpp). Started documenting the UML architecture (techspecs\uml_architecture.rst). Slight API cleanup (cpu\drcuml.cpp, cpu\uml.cpp).
    . arm7drc: Preliminary ARM DRC. Also found and correct additional errors in the interpreter. Planning, an initial skeleton, massive regression testing, adaptation to Vas's new DRC memory setup and debugging assisted by Claude Opus 5 and 5.5 (arm7\arm7drc.cpp).
    . sharcdrc.cpp and mb86235drc.cpp: Set a rounding mode for the SHARC and TGPx4 DRCs. Resolves weird behavior on x64 systems. Debugging assisted by Claude Fable 5.1 (sharc\sharcdrc.cpp). Fixes coprocessor error on bootup in fvipers, fvipersb, schamp and sfight (ID 09394). Fixed x64 DRC cache hazard (found by mame-review 1.1.2) (mb86235\mb86235drc.cpp).
    . Fixed multiple bugs in instruction sequence analysis: Fixed current source/target getting overwritten by values for first branch encountered in the inner loop. Actually analyse dependencies for instructions in delay slots recursively. The comment indicated that the code did this, but it was lying. Fixes issues with dependency analysis for CPUs with multiple-instruction delay slots. Fixed dependency analysis for instructions in branch delay slots. Previously instructions in the delay slot for a branch that is taken were analysed as though the branch was not taken. Fixed dependency analysis for conditional branches with delay slots (cpu\drcfe.h and cpu\drcfe.ipp).
  . Ensoniq ES5510
    . Map host DRAM accesses through MEMSIZ like program accesses. DADR is left-justified like the GPR offsets; host reads/writes at offset 0x0f now use (dadr & memmask) >> memshift. Previously host-loaded data landed at a different dram[] index than the program reads whenever memshift != 0. See #16704. Co-authored by Claude Opus 5.5 (es5510\es5510.cpp).
    . Implemented the ES5510 disassembler. Decode the 48-bit ESP microinstruction and format its ALU, multiplier and RAM control fields, using the operand order and syntax from Ensoniq's own ESPASM/ESPDASM. The instruction stream is six bytes per step, most significant first. Enable the es5510 architecture in unidasm now that it produces output. Added GPR-aware disassembly and operand values. Refine operand and RAM-control formatting (es5510\es5510d.cpp). Expose the GPRs and instructions to the debugger. Align the instruction descriptions with the disassembler. Removed list_program and the fixed description buffers. Moved one-shot debug strings out of their streams (es5510\es5510.cpp). Assisted by DeepSeek V4.1 Flash 1017.
  . Freescale MCF5206E: Make the chip select control registers 16 bits wide. CSCR0-CSCR7 are 16-bit registers, but they were mapped as one byte, so word accesses lost the low byte (PS1-PS0, EMAA, ASET, WRAH, RDAH, WR, RD). The E-mu Proteus 2000 boot block writes them as words (m68000/mcf5206e.cpp).
  . Fujitsu Micro F2MC-16: Revert MAME 0.289 changes (External interrupts do not seem to have a iack/vector fetch cycle) (f2mc16\f2mc16.cpp). Fixes black screen and freezes MAME at start in Motocross Go! and clones (GitHub #15778; ID 09509). Set irq pin to irq_level anyway (it does have 8 irq pins).
  . Galileo GT-64xxx System Controller: Fixed window decoding and DMA channel handling (machine\gt64xxx.cpp)
  . Hitachi H8
    . Use logmacro for verbose logging (h8\h8_timer16.cpp). Minor logging fixes (h8\h8_dma.cpp and h8\h8_sci.cpp). Fixed logerror bug that caused assertion failures in (MESS) jv880 and rd500 (h8\h8_timer16.cpp). Quiet default logerror (h8\h8_timer8.cpp).
    . The H8-3006/7 bit 7 for port 6 is weird: It's always input while its ddr bit always says output (h8\h83006.cpp and h8\h8_port.cpp).
    . Fixed flags for 8-bit SUBX. Fixed byte-wide forms of 'CMP EA', #imm' and 'MOV #imm, EA'. Added undocumented LDC/STC byte-wide behavior that Roland relies on (h8500\h8500.cpp). ixed word-size LDC/STC EP to save/restore the EP:DP pair, which the (MESS) Alesis QS IRQ handlers definitely assume (h8500\h8500.lst).
    . MOV.W Rn, @-Rn stores the decremented register. The programming manual (section 1.3.5, note 5) shows the stack holding "old SP - 2" after MOV.W SP, @-SP. Regression tested with SC-88 drivers (h8500\h8500.lst). Correct timing of branch, call, return and trap instructions (h8500\h8500.cpp).
    . Correct timing of the remaining instructions. Most instructions were charged extra states on top of their fetches and operand accesses (e.g. 4 instead of 2 for a register to register ADD, 5 instead of 3 for MOV:I), while memory operands were missing the addressing mode overhead (e.g. STC.B CR,@-SP took 4 instead of 7). The addressing mode overhead and alignment are now charged once in ea_addr(), and each operation only adds its own states (h8500\h8500.cpp).
    . Map the H8/510 watchdog timer registers and port 8 resets to inputs. TCSR/TCNT at FF10-FF11 were inside a disabled block. The SC-88 firmware assumes the ports power up as inputs (h8500\h8510.cpp).
    . Hook up refresh controller for H8/3002 and H8/3003
    . Fixed source/destination address direction in full address mode. With SAIDE/DAIDE set, SAID/DAID = 0 increments MARA/MARB and 1 decrements it (H8S/2329 Group Hardware Manual, Rev. 6.00, REJ09B0220-0600, section 7, DMACR, pp. 241-242; see also the MARA/MARB formulas in section 7.5). The code had the two cases swapped. Short address mode already used the documented convention (DTID = 1 decrements) (h8\h8_dma.cpp).
    . Fixed count in short address mode on channel b (h8\h8_dma.cpp). Fixed interaction with sci and other dma-driver transfers (h8\h8.cpp, h8\h8.lst). Fixed the synchronous code to only send 8 bits per byte sent (h8\h8_sci.cpp). Clear interrupts when they're not requested anymore (h8\h8_intc.cpp, h8\h8_sci.cpp).
  . Hitachi SH-4: Ignore writes to m_scfsr2. This prevents software from clearing TDFE avoids issues with software that waits for TDFE to be set (sh\sh4comn.cpp). Fixes mslug6, basschal, basschalo, xtrmhunt, kofnw, kofnwj and vfurlong fails to boot to attract mode (ID 09399). GPT-6.1-Sol was used as a research and debugging tool. Stop idle timers with a reload of zero. Fixed TCR UNF write behaviour and clamp TCNT reads. UNF can only be cleared by writing 0, writing 1 leaves it unchanged and a TCR write leaving UNF and UNIE both set now requests TUNIn (SH7750 hardware manual, TMU chapter). TCNT reads between expiry and the timer callback returned an undefined conversion of -1.0; return 0 instead (sh\sh4tmu.cpp). Added sh4_dma_external_read() for external-request DMA in DDT mode. Added a way for an external device to take data from an SH-4 DMA channel in DDT mode. Let the caller of sh4_dma_external_read() know when the read completed the channel. Fixed address stepping and alignment in sh4_dma_external_read() (sh\sh4.h and sh\sh4dmac.cpp). Select the operand cache RAM area using CCR.OIX (sh\sh4.cpp). Co-authored Claude Opus 5.5. Temporary fix for the sh4 memory refresh timer until it is reiplemented correctly (sh\sh4comn.cpp).
  . Hitachi SH7xxx/SH-1/2/3/4
    . SH family updates: Removed shadow m_am member that was causing confusion in favor of the base class's. Exception vector fetches now mask the fetched PC with m_am. Fixed DRC cycle counts for MULS, MULU, BT/BF, TSTM, BSRF and STC/LDC. Fixed interpreter cycle counts for JMP, ORI and ORM. Fixed interpreter MAC.W and MAC.L to generate correct results. Illegal instructions now trap when they happen instead of some time later. generate_delay_slot() propagates the delay slot's cycle count back to the caller. Fixed DRC delay slot behavior for BSRF, BRAF, JSR, JMP, RTS and RTE. MOV.W @(disp,PC), MOV.L @(disp,PC) and MOVA now use the correct address when in a delay slot. RTE restores PC and SR before the delay slot executes and properly masks SR. LDC.L @Rm+,SR masks the loaded value with SH_FLAGS. SLEEP now actually sleeps on the DRC, it was a no-op before. The FPU now uses the requested rounding mode for both interpreter and DRC. Correctness fixes for the interpreter versions of FTRC, FDIV, FSQRT, FSRRA, FMAC, FTRV and LDS. Fixed 11 cases of copy-pasted very broken UML_TEST (..., m_fpu_pr, 0). DRC FNEG inverts the sign bit in both precisions. DRC FTRC routed to the range-checked implementation. All seven DRC FMOV forms converted to UML via generate_fmov_single/generate_fmov_pair. DRC FLDS, FTRC, FSQRT, FSRRA, FCNVSD, FCNVDS, FIPR and FTRV converted from cfuncs to UML. DRC CLRS, SETS, SHAD, SHLD, LDCDBR, the banked STC/LDC forms and the @-Rn/@Rn+ control-register transfers and LDS/LDS.L to FPSCR converted to UML. Func_FSSCA applies the rounding mode before calling the interpreter. Tested to fix a selection of Saturn software that was marked "doesn't work on DRC" and to generate byte-identical 3D frames between the interpreter and DRC with 6 Naomi games. On both x64 and arm64 hosts and even x64 vs. arm64. Additionally, a generated Lua script performed an FPU torture test which found and verified many of these issues. Debugging and tracing assistance and some suggestions on fixes were provided by Claude Opus 5. Fixed things that should be in the DRC cache (sh/sh.h and sh\sh4.cpp). Fixes kofnw and clone kofnwj fail to boot to attract mode with DRC enabled (ID 09565).
    . A few cleanups: Flip the interpreter's policy to run primarily in the host's rounding mode and only set ours when necessary. Moved m_fpmode into the cache for further x64 safety. Added the necessary #pragma for FP environment changes on Clang. As far as I can tell, GCC wants per-file -frounding-math in the build system for this, and ditto drcbec.cpp. That's a relatively big change for two things that won't normally be used though (the SH interpreter and drcbec).
    . Added SH7016/SH7017 mid-speed A/D converter. Fixed the SH7014 SCI's asynchronous frame and bit rate. The frame format had all three of its fields the wrong way round. A port set up for 8N1, as MIDI is, was receiving 7E2 and framing every byte. The internal bit rate was short by the factor between the peripheral clock and the bit clock. Expose the receive input, which had no accessor. The SH7014 SCI loads on a falling TDRE only, and its requests are levels. Fixed SH7014 watchdog timer. The SH7014's DMAC restarted every transfer it finished. The SH7014's IRQ pins have vectors and priorities of their own. sh7014 edge-detected IRQs never reached the CPU (sh\sh7014.cpp). Wait 2 more cycles on DMA start. Fixes Truck Kyosokyoku music regression. Debug assisted by Claude Opus 5.1 (sh\sh7014_dmac.cpp).
    . Implemented standby mode that SLEEP kicks the SH-2 into and fixed a bug with FRT capture. Fixed SH7604 on-chip divider corner cases (sh\sh2.cpp and sh\sh7604.cpp)
    . A branch in a delay slot raises a slot illegal instruction exception on the SH-1/SH-2. Stack the delayed branch's destination for a slot illegal instruction (sh\sh.cpp).
    . Several bugfixes: Fixed to use the same address mask as the interpreter. Fixes Saturn House of the Dead. Fixed a cycle accounting error for branches and delay slots that I copy/pasted from MIPS about 80 years ago and never picked up when it got fixed for MIPS. This fixes Digital Pinball on the Saturn. SH-4 bit-accurate trig operations from the research of Stefanos Kornilios Mitsis Poiitidis (sh\sh.cpp).
  . Hyperstone E1-xxxx
    . Fixed SETADR carry going into bit 0 instead of bit 9 (e132xs\e132xsdrc_ops.hxx). Fixes task switching in Mr. Kicker and Yori Jori Kuk Kuk. Promoted Mr. Kicker (SEMICOM-003b PCB), Yori Jori Kuk Kuk and Royal Poker 2 (Network version 3.12) to working. Marginally more pipeline-friendly implementation of recompiled SETADR instruction (e132xs\e132xsdrc_ops.hxx).
    . Updated all condition codes when dynamically checking for delay slot. Fixes easily rerproducible instances of Crazy War may freeze during gameplay (ID 09574) (e132xs\e132xsdrc_ops.hxx).
    . Removed workarounds for issues with dependency analysis of delayed branches, optimised a degenerate case of SUB used to manipulate condition codes, and cleaned up code. Practical impact on performance in minimal (e132xs\e132xsdrc.cpp).
    . Fixed timer behavior (e132xs\e132xs.cpp). Slightly optimised generated code for function control register updates; Start with a fresh compiler state when recompiling a block due to cache exhaustion; Actually generate the code to change modes at the end of a sequence so the code matches the comment (for various reasons, this wasn't actually causing anything to break) (e132xs\e132xs.cpp).
  . IBM PowerPC
    . Help performance on PCI PowerMacs with a 68K DRC: * Apple's 68k DRC frequently generates a code sequence, flushes it, and then regenerates the exact same thing at the exact same address. So we now cache small sequences and can restore them without the overhead of a recompile. This required adding some accessors to the 3 DRC backends. * The entire vTLB (a MAME DRC implementation detail, *not* the 603's architectural TLB) was being used as a comparison for deciding to flush a block rather than just the actual mapping. In particular, the access count bits were causing unnecessary recompiles. * The vTLB was also too small: at its original size it covered just 512K of working set. By trial and error stepping through powers of 2, 4096 was found to give the best results running real Mac software. With these changes, pwrmacg3 went from roughly 160,000 block flushes and recompiles per second to 0 when idling at the Mac OS 8.1 Finder. This also smoothed out regular audio breakups on pippin caused by recompile storms and seems to have even sped up a few of the PPC arcade games by a few ticks. Claude Opus 5 assisted with measuring and isolating the performance issues n (powerpc\ppc.h, ppccom.h and ppcdrc.cpp).
    . Generate the no FPU exception when MSR[FP] is cleared, and added a temporary opt-in hack for some cache-reliant (MESS) Mac OS 9 behavior. Fixes garbage window backgrounds in the Finder and elsewhere on PowerMacs. Claude Opus 5 assisted with tracking down these issues (powerpc\ppc.h, ppccom.cpp and ppcdrc.cpp). TLB fixes exposed by (MESS) Mac OS X (powerpc\ppc.h and ppccom.cpp). Respect the ICFI bit in HID0, fixes regressions in Konami M2 games. Finding the bug was assisted by Claude Opus 5 (powerpc\ppccom.cpp).
    . Fixed Mac OS X kernel panics freezing the MAME process (powerpc\ppcdrc.cpp). Fold CTR-only branches. Branch folding wasn't implemented for bdnz/bdz instructions. This caused the Power Macintosh 6100 ROM's calibration loop to be off by 1 cycle and miscalculate the CPU clock (powerpc\ppcfe.cpp). Fixed the polarity of the 603 TLB miss SRR1 store bit. The MPC603e User's Manual contradicts itself in places even in the latest revision on this point, but real-world code agrees with this polarity (powerpc\ppcdrc.cpp). 
    . Invalidate 603 TLB entries when a segment register changes and invalidate 603 TLB mappings by index (powerpc\ppccom.cpp and emu\divtlb.cpp). Retire a fixed entry loaded with no pages (emu\divtlb.cpp). Fixed more long-standing 603 TLB-related bugs. The KEY bit indicating supervisor/user is now actually used. Fixed up vtlb page permissions. Fetches now use the correct mode permissions instead of always supervisor. Debugging assisted by Claude Opus 5 (powerpc\ppc.h, powerpc\ppccom.cpp, powerpc\ppcdrc.cpp and emu\divtlb.cpp).
    . Honor cpu_device::retry_access() in the DRC, boot (MESS) pmac6200 from CD (powerpc\ppcdrc.cpp). We were mixing up the 603's split instruction and data TLBs. Mac OS and MkLinux don't care, but spikeout does. Debugging and the outline for the fix assisted by Claude Fable 5.1 (powerpc\ppccom.cpp).
    . Fixed resume state when entering power-saving mode. Save the instruction after MTMSR as the resume PC when setting MSR[POW]. Saving MTMSR itself causes RFI after a wakeup interrupt to request sleep again, preventing Linux 2.4.32 on pmac6200 from progressing past IDE probing. Keep the CPU suspended across execution slices while POW remains set, after checking enabled interrupts at the DRC entry point. Save cached floating-point registers along with integer registers before yielding, and increase the entry block's instruction reservation. Reference: PowerPC 603/603e manual, chapter 4 and section 9.2.2. Written with the assistance of GPT 6.1 Sol and Codex (powerpc\ppcdrc.cpp).
    . Don't treat SRW as setting XER[CA] in the DRC frontend. The frontend described SRWx together with SRAWx and marked it as modifying XER[CA]. SRW leaves XER unchanged, and the code generated for it never writes CA. Reference: IBM AIX Assembler Language Reference, srw and sraw (powerpc\ppcfe.cpp). Charge time base and decrementer reads one cycl (powerpc\ppccom.h and powerpc\ppcfe.cpp). Apple runs 601 machines with a slightly non-standard RTC/DEC clock, make it possible to set that (powerpc\ppc.h and powerpc\ppccom.cpp).
    . Set up the 603 HID1 register readback and also some light cleanup (powerpc\ppccom.cpp). Clear SRR0, SRR1 and HID0 on hard reset (powerpc\ppccom.cpp). Make fsqrt and fsqrts illegal on every model (powerpc\ppcdrc.cpp and powerpc\ppcfe.cpp). Added bus errors, taken as machine check exceptions. Report a bus error machine check as TEA in SRR1 (powerpc\ppc.h, ppccom.cpp and ppcdrc.cpp).
    . Updates: Added the 603-family SMI input. The lwarx reservation is dropped at each timeslice, so the second CPU#s writes are respected (temporary until I set up the proper mechanism that we discussed earlier) (cpu\powerpc). Generate the memory accessors at reset so fast RAM is used again. Making the static helper code invariant (d787b4ac6d1) moved all static code generation from code_flush_cache() into device_start(). Drivers do this from machine_start(), which runs after device_start(), so the accessors were built with no fast RAM and every access has taken the address space path since (powerpc\ppccom.cpp). Got rid of a level of indirection to the DRC UML state (cpu\powerpc). Handle the HID1 register differences for the PPC750. Fixes pegasos2 frequency calculation (powerpc\ppccom.cpp).
    . Implemented support for signal_external_write, which affects both compiled DRC pages and lwarx reservations. This removes the previous hack where lwarx reservations were unconditionally flushed at the end of a time slice. Also fixed an issue where loading a save state didn't restore the processor mode (cpu\powerpc). Fixed cached translations and exception cycle accounting (powerpc\ppccom.cpp and powerpc\ppcdrc.cpp).
    . Only discard changed code on ICFI, fill fetch TLB at compile time. Keep a copy of every physical page code was compiled from, so setting HID0[ICFI] discards only code from pages whose bytes changed instead of the entire cache. A page that can't be read as one block of host memory is always discarded. Invalidating a page also drops the hash entries of the neighbouring sequences a block compiled around it can contain. Fill a page's fetch TLB entry at compile time when it has none, and re-enter a block after a TLB mismatch on an entry that couldn't fetch, instead of recompiling (powerpc\ppc.h, powerpc\ppccom.cpp and powerpc\ppcdrc.cpp). Improved MFSPR on the 740/750. Accept MFSPR as an alias for MFTB when reading TBL/TBU on the 740/750. Needed for booting Debian PPC. GPT-6.2-Sol was used as a research and debugging tool (powerpc\ppccom.cpp).
    . Emulated the 74x/75x thermal assist unit registers. Fixes Mac OS 9.2.2 freezing on New World G3s when the boot finishes. Claude Opus 5.5 traced the problem and generated the fix. It also mame-reviewed itself, found problems and fixed them (powerpc\ppccom.cpp).
  . Intel 8051
    . Added missing read back for T0/T1 lines for port 3. Delay interrupts until after the next instruction. Fetch the discarded opcode at PC when taking an interrupt (mcs51\i8051.cpp).
    . Use INT pin levels for timer gating. GATE0 and GATE1 enable their timer/counter while the corresponding INT pin is high and TR is set. Use the sampled input level independently of the latched IE0/IE1 interrupt flags. Qualify external counter edges before accumulation so pulses received with a closed gate cannot be counted after it opens. This fixes the BASIC-52 gated clock stopping and gated PWM command hanging with unasserted interrupt inputs (mcs51\i8051.cpp).
    . Correct 8052 Timer2 input gates and reload timing. Defer interrupts after IE/IP writes and RETI. Assistance by OpenAI Codex (GPT-6.1 Sol) (mcs51\i8051.cpp). Keep SBUF writes out of the receive buffer. SBUF is two registers at one address: writes load the transmitter and reads return the last received character. Fixed TxD low from power-on until the first byte. Set up the UART before the reset port writes, so TxD idles high from power-on. Explain why the UART is set up before the reset port writes (mcs51\i8051.cpp).
    . Support extended interrupts and execution control in derived MCUs. Widen pending, enabled and deferred interrupt masks to 16 bits and provide overridable pending-source, vector and priority operations. This supplies the remaining shared interfaces required by the forthcoming nRF24E1 implementation while retaining common interrupt arbitration and opcode dispatch. Added an execution-readiness check before interrupt polling for derived devices with separate power, bootstrap or clock controls. Existing devices retain the default execution and interrupt calculations; widening the saved interrupt-delay field changes cross-build save-state compatibility. Fresh assertion builds pass validity, fifteen paired firmware profiles and 680 save/load/reset checks per build. An alternating BASIC-52 benchmark establishes no meaningful speed change within the observed variation. The matching shared source also has separate Nordic integration coverage; no machine configuration changes are included. Use vector slots for interrupt arbitration. Pass the full interrupt mask through pending-source and idle handling. Keep priorities for all 16 vector slots in the saved table, and use the full deferral mask for DS5002FP priority writes. The larger table changes the save-state layout. Read each pending slot's priority once and compute the vector after accepting the winner. This lets derivatives supply flags through the existing mask hook and program their extra priorities without separate pending, priority or vector lookup virtuals. Assistance by OpenAI Codex (GPT-6).
  . Intel 8080: Fixed INTE output at reset (i8085\i8085.cpp)
  . Intel 8085A: Take 12 states, not 11, to accept TRAP and RST 5.5/6.5/7.5. Shorten the interrupt acceptance comment. Charge interrupt acceptance from the RST instruction's cycle count (i8085\i8085.cpp).
  . Intel 8086: Don't check zf in jl (i86\i86.cpp)
  . Intel 80286: Fixed limit check and enter (i86\i286.cpp)
  . Intel 80960KA/KB: i960 fixes: SUBC had the borrow inverted, this affected Speed Racer's 64-bit multtiply/divide subroutines. MOVRE was stomping past the destination register; this trashed m_SAT in Dead or Alive. The priority wasn't being adjusted properly when taking an IRQ. MODI's sign test was overflowing and giving wrong results frequently in Speed Racer. Core audit and disassembbly to determine which games were affected by which bugs assisted by Claude Fable 5.1 (i960\i960.cpp).
  . Intel I386
    . Fixed rotate (i386\i386op16.hxx). Fixed stmxcsr typo in disassembler (i386\i386dasm.cpp). Correct CPU generation flags for several opcodes (i386\i386ops.h).
    . Pass operand size to GetEA for correct segment checks, removing SHUT0/1 hack. Fixes (MESS) pc9801 "SYSTEM SHUTDOWN" error on soft reboot (i386\i386.cpp).
    . Protected mode RETF: Only the GDT null selector is invalid. GPT-6.1-Sol was used as a research and debugging tool (i386\i386segs.hxx). With no coprocessor, TS or EM set traps. Single-Step trap after each iteration, return to the string instruction, needed for Windows NT 3.51. Added slot device so configuring of i387/i487 is possible also adding i486sx as cpu option. Assisted by Claude Opus 5.5 (i386\i386ops.hxx).
    . Added GXm device and CPU id. Aided by Claude Opus 5.5 (i386\i386.cpp). Index registers directly in 32-bit address decoding. Replaced the ModRM and SIB register-selection switch statements with direct register indexing. Segment selection, displacement fetches and the 16-bit address path are unchanged. Claude Opus 5.5, GPT 6 Astra/6.1 Sol, Gemini 3.8 Flash/4 Argon and Meta Muse for implementation, analysis, testing, review and documentation (i386\i386.cpp).
  . Intel I386, MIPS and PPC: Retire a fixed entry loaded with no pages. Save static entries in save states, but not dynamic (emu\divtlb.cpp).
  . Intel P8798
    . Timers run three times too fast. timer_value() and timer_time_until() are in cycles, not input clocks, so divide down accordingly (mcs96\i8x9x.cpp). MULB indexed byte operand and HSO CAM entries lost to exact-equality matching. mulb with an indexed byte operand must read a byte. Fire HSO CAM entries on reached-or-passed, not exact equality. Co-authored by Claude Opus 5 (mcs96\i8x9x.cpp). Implemented the serial port at bit level. Don't check parity in serial mode 2, use sized pin level types (mcs96\i8x9x.cpp).
    . Fixed MULUB indexed three-operand form discarding the multiplicand. The indexed variant (opcode 5F) overwrote the fetched operand instead of multiplying by it, so the result was just the second operand zero-extended. The direct, immediate and indirect variants were already correct. Fixed DIV and DIVU ignoring the high word of the dividend. The 32-bit dividend is held in a doubleword register, but the high word was OR:ed into the low word instead of being shifted into bits 16-31, so any dividend of 64K or more produced a wrong quotient and remainder. Fixed signed DIV remainder, and avoid a host trap on overflow. DIV divides using signed arithmetic, with the high word of the destination receiving (DEST) MOD (SRC). The remainder was computed with the dividend as unsigned, converting a negative divisor to unsigned as well, so any negative operand gave a wrong remainder (DIVB already does this correctly). Also perform the division in 64 bits: 0x80000000 / -1 is undefined behaviour in 32 bits and raises SIGFPE on x86 hosts, where it should just set V (mcs96\mcs96ops.lst).
    . Fixed MCS-96 CLR/CLRB flags, NORML shifting and indirect SUB post-increment, and preserve the 8x9x CAM deadlines across save states. Keep both systems marked not working with imperfect sound pending further hardware validation. Fixed arithmetic flags, shifts and indexed timing. Correct N on signed arithmetic overflow and set sticky VT on subtraction overflow. Handle all register shift counts without undefined host shifts, including left-shift V/VT, right-shift sticky bits and arithmetic carry. Set V/VT on zero divisors while retaining the destination. Preserve the long indexed displacement flag until cycle accounting, and correct the signed byte division timing macro arguments. Validation: Isolated DEP-5/RE-3 build and validity checks, 2.8 million instruction assertions under UBSan, 4480 native CPU vectors, original firmware boot/panel/save tests, and 160 matching factory-room DC/DD pairs (mcs96\mcs96.cpp).
  . MC68340
    . Implemented DMA transfers and external interrupt handling. Convert the DMA module to a device and implement dual-address transfers, external request handshakes and interrupt arbitration. Support configured external autovectors and restrict MBAR accesses to CPU space (machine\68340.cpp).
    . Don't push out outputs on loading state. This would just mask issues with other devices (machine\68340tmu.cpp).
  . Microchip PIC16Cxx
    . Standardize ROM definitions for mid-range PIC devices. Use 16-bit little-endian regions sized for the specific PIC model. Moved user IDs and configuration words from comments into the region so that it can be read by the emulation. Split regions where dumps for multiple CPUs were put into one region. Converted some Intel hex format files into binaries. GPT-6.1-Sol was used as a research and debugging tool.
    . Merged PIC16C62x emulation with new core (pic16_mid.cpp). GPT-6.1-Sol was used as a research and debugging tool. Added PIC16F648A variant and hook it up to Lindbergh (disabled for now). Improved debugger view. GPT-6.1-Sol was used as a research and debugging tool.
    . Simplify execute loop NMOS check (pic16c5x\pic16c5x.cpp)
  . MIPS
    . MIPS-I: Added iop_device::translate(): kuseg maps 1:1 without the IDT base-part offset, and every access is uncached because the IOP's only data cache is the scratchpad (mips\mips1.cpp).
    . MIPS-III
      . MIPS3 interpreter and MIPS3 DRC now all pass the same strict synthetic ISA conformance test. Raise address error exceptions for misaligned accesses and for user/supervisor references outside their segments in every memory accessor; store accessors now report success. Exceptions rewrite Cause per the R4000 manual: IP is kept, BD is retained for nested exceptions, EPC is not touched while EXL is set, and only IP(1:0) is writable. Integer overflow exceptions on ADD, ADDI, SUB, DADD, DADDI and DSUB are always on; DIV and DDIV wrap INT_MIN / -1 instead of invoking host undefined behaviour. TGEIU, TLTIU, TEQI and TNEI compare against the sign-extended immediate; TLTIU's condition was inverted. LL/LLD/SC/SCD: LLAddr holds PAddr(35:4), the reservation is matched on the virtual address, a successful SC releases it, and rt == 0 is legal. CP0: Random counts down from the upper bound and restarts on Wired writes, replacing the LCG; write masks for Index, Wired, EntryLo, EntryHi, Context, XContext, WatchLo and WatchHi; Config bits 5:0 writable; ERET honours ERL; the CP0 function is decoded from bits 5:0, RFE is reserved, BC0FL/BC0TL are implemented; FCR0 is read-only; a Count write re-times the compare. Reserved instructions raise an exception (new LOG_INVALID channel) instead of a fatalerror. Model the explicitly allocated primary data cache lines of the VR5500: CACHE Index, Hit and Create_Dirty_Exclusive operations, line reads and writes, writeback into translated code leaves the block. Cache buffers are allocated with the right sizes and only when non-zero. device_post_load() recomputes the DRC mode; the exception path keeps a pending delay-slot redirect consistent across an interrupt (mips\mips3.cpp). Fixed fast RAM access on 64-bit big endian bus variants and added preliminary support for the Ingenic XBurst-series MIPS cores. Debugging and XBurst planning assisted by GPT-6 Astra (mips\mips3.cpp). Moved cp0_sel and mxu into the DRC cache (mips\mips3.cpp).
      . MIPS3COM: The interpreter re-checks interrupts when an input line changes; a Count write re-times an armed compare; the compare timer stays disabled until the next Compare write; MFC0 Random and TLBWR share one index; a TLB entry has one G bit; the stray icache/dcache nulling is gone; WatchLo/WatchHi register numbers added (mips\mips3com.cpp).
      . MIPS3DRC: Brought in line with the interpreter: alignment checks in the accessors, unconditional overflow exceptions, the DIV/DDIV INT_MIN guard, Cause/BD/EPC handling in the exception handler, physical LLAddr, SC clearing the link and respecting rt == 0, CP0 write masks, the Random down-counter with exact cycle counts at Wired writes and TLBWR, BC0F/BC0T/BC0FL/BC0TL, RFE reserved, FCR0 read-only, the VR5500 rotates, multiplies and SPECIAL2 group, CACHE compiled against the data cache model (mips\mips3drc.cpp). Flush affected DRC code pages when a program evicts instruction cache lines (mips\mips3.cpp and mips3drc.cpp). Don't arm the Compare interrupt on a Count write. Fixes Github #16818. Ddebugging assisted by Claude Opus 5.5 (mips\mips3.cpp, mips\mips3drc.cpp).
      . MIPS3 Front-end: CACHE is described as a memory access that can fault when the data cache is modelled; PREF no longer falls into it. VR5500 multiply family and SPECIAL2 descriptions; CP0 function from bits 5:0; BC0FL/BC0TL skip their delay slot (mips\mips3fe.cpp).
      . R4000: R4000 now all pass the same strict synthetic ISA conformance test. DIV/DDIV wrap INT_MIN / -1; TLTIU condition fixed; BC0F/BC0T/BC0FL/BC0TL implemented; Random counts down from the upper bound from its own origin and restarts on Wired writes, and TLBWR uses the same index; BadVAddr is written on an address error regardless of EXL (mips\r4000.cpp).
      . R4650: Bound violations raise address errors and the write accessors translate through DBase instead of DBound.
      . R5900: The embedded VU0 register copy is gone; QMFC2/QMTC2/CFC2/CTC2/LQC2/SQC2 go through the VU0 device, VCALLMS/VCALLMSR start it, macro instructions execute in the VU core, and instruction_stall() retries an instruction while a coprocessor interlock holds.
      . VR5500: ROR/RORV/DROR/DRORV/DROR32, the MUL/MULS/MACC/MSAC multiply family, SPECIAL2 MADD/MADDU/MSUB/MSUBU/MUL64/CLZ/CLO/DCLZ/DCLO; the disassembler is created in VR5500 mode.
      . Sony PlayStation 2: PS2 console now properly runs the R5900 and VU code for the startup/dashboard (no rendering exists to prove it though). Sony PlayStation 2 VU1 interface: DMA words are pushed in memory order and MPG instructions assembled low word first with byte addressing; MSCAL waits for VU1 and rotates TOP/ITOP/TOPS double buffering; OFFSET resets the buffer select; UNPACK addresses include TOPS; CYCLE and NUM values of zero mean 256; top() and itop() accessors (mips\ps2vif1.cpp). Sony Playstation 2 Vector Unit: Pipeline model: FMAC and load results retire four cycles after issue with source hazards, Q and integer latencies, the VI value a branch sees next to its producer, upper-over-lower write priority, E/D/T bit handling with draining, XGKICK latched until the GIF is free, an interrupt output. New or fixed instructions: LQ, SQ, ISUBIU, IADDI, FMAND, ILWR, XTOP, XITOP, DIV, SQRT, WAITQ, MAXbc, MINIbc, FTOI0, FTOI4; JR/JALR/BAL use instruction-unit VI addresses. VU0's data space mirrors the VU1 registers at 0x4000; VU1's micro and data spaces are 16 KB; VU1 was constructed with the VU0 chip type. Control register access with FBRST reset and break semantics and VPU_STAT export; the macro-mode interface the R5900 uses (mips\ps2vu.cpp).
    . MIPS-I/III/IV: Got rid of a level of indirection to the DRC UML state. Don't set up symbolic names for UML disassembly if the recompiler is disabled and some general cleanup (cpu\mips).
  . Mitsubishi M37450: Make four CMP/SBC opcodes honor the T flag (m6502\dm740.lst). Restrict data space access to LDA ($zz),Y and STA ($zz),Y instructions (m6502\om740.lst). Latch the interrupt vector before fetching it. Assisted by Claude Opus 5.5 (m6502\om740.lst).
  . MOS Technology 6502
    . New cycle-interruptable 65816 core (WDC W65C816S) using the existing m6502 generator infrastructure. Switch (MESS) apple2gs.cpp to W65816 and bus\adb and default to the correct LLE A9M0330 keyboard and A9M0331 mouse. Claude Opus 5 assisted with conformance testing and a final refactor and cleanup pass (m6502\m6502d.cpp and m6502\m6502make.py). Include w65816 as an option (tools\unidasm.cpp). Added optional AS_DATA for w65816 so it has the same flexibility g65816 had (m6502\w65816.cpp).
    . Implemented RDY input (m6502\m6502.cpp). Assisted by Claude Opus 5.
    . Fixed interrupt sampling on the NMOS variants. Latch interrupts before each bus cycle, except the opcode fetch that follows. This makes the effective sample point the instructions second-to-last cycle. Do not sample interrupts on the second cycle of a taken same-page branch, during BRK/interrupt vector fetches, or directly at the vector pull when an NMI takes over a BRK. For that NMI case, latch it before the status push instead. Assisted by Claude Opus 5 and GPT-6 Astra (m6502\m6502.cpp).
    . Keep the original interrupt sample when retrying a deferred memory access. Assisted by Claude Opus 5.5.
  . Motorola MC6801: Raise IRQ1 from the IS3 flag when P3CSR enables it (m6800\m6801.cpp)
  . Motorola MC6809: Execute undefined page 2/3 opcodes as page 1 opcodes. A $10 or $11 prefix followed by an opcode with no page 2 or page 3 meaning now executes that opcode as its unprefixed form. Previously the opcode byte was discarded and a new opcode fetched, so a sequence such as $11 $86 nn lost a byte and continued mid-instruction. The prefix still costs its extra cycle. Real hardware behaviour is documented at https://github.com/hoglet67/6809Decoder/wiki/Undocumented-6809-Behaviours. NitrOS-9's CoCo SDC driver uses "lda #n / fcb $11 / lda #m" so that a 6309 skips the second load (as LDE) while a 6809 executes it (m6809\m6809.lst).
  . Motorola MC68000
    . Updates: Fixed stale prefetch carrying over across user/supervisor switches. Fixed PFLUSH not correctly consuming its operands. Some preliminary work on Coldfire exception stack frames. Issues reported by Plamen (m68000\m68k_in.lst, m68kcpu.cpp/h, m68kmmu.h and m68kops.cpp/h).
    . Fixed a pervasive offset miscalculation in the bitfield instructions plus a bonus operation size goof in bfffo. Claude Opus 5.5 assisted with verification of the issues and generated a test suite which logged 1100+ failures prior to this fix and zero now (m68000\m68k_in.lst and m68kops.cpp).
    . Keep external MMU state across reset and honor 68010 software re-run
  . Motorola MC68030: Fixed CACR mask for '030, was causing a few Macs to misdetect as an '040 (m68000\m68k_in.lst and m68000\m68kops.cpp)
  . Motorola MC68040
    . On the MC68040 CACR reserved bits must read as 0 (m68000\m68k_in.lst, m68kcpu.h and m68kops.cpp), fixes Amiga CPU detection (GitHub #15792).
    . Preliminary support for FPU exceptions (primarily for FDIV and friends). Fixes the train not moving in Densha de GO! attract. Issue was traced to an uninitialized variable in the actual game (causing a divide by zero and then NaN poisoning) by GPT-6 Astra (m68000/m68k_in.lst, m68kcpu.cpp, m68kfpu.cpp). Consistent source code style (m68000\m68k_in.lst).
  . Motorola MC68HC11xx: Wake from STOP on masked XIRQ (mc68hc11\mc68hc11.cpp)
  . Motorola MC68HC705xxx
    . Added SCCR1 and BAUD register stubs. Added remaining SPI and SCI registers. The mc68hc05c8a datasheet notices that these two are short by 4 bytes. This corrects the error (m6805\m68hc05.cpp).
    . Added SPI and SCI IRQs. Consulted the mc68hc05c8a and MC68HC05C4 documents. Label SPI and SCI vector with part family. Makes the vectors specific to the C family of these parts. Updated Vector Naming. Timer is 4x too slow. 1<<4 == 16. It should be 1<<2 == 4 to get a fixed prescaler of 4 (m6805\m68hc05.cpp). Don't restart the one-second timer on writes (m6805\m68hc05e1.cpp).
    . Fixed output compare missed at counter rollover. The compare was against the unwrapped counter, so when the 16-bit counter rolled over inside one burn_cycles call, any OCR at or below the wrapped value never matched, including OCR = 0 every time. OCF then never sets, and firmware that steps OCR from its timer interrupt loses its timer for good. The data sheet (ADI991R2 4.3) has the compare on every count, with no exception at zero or rollover (m6805\m68hc05.cpp).
    . Implemented the 68HC05 SPI in master mode. Read SPI MISO from port D, keep SS pushed. Fixed the SCCR1 bit mask and show the SCI registers on every SCI variant. Implemented the SCI transmitter and receiver (m6805\m68hc05.cpp).
    . Mark inferred behaviour, and keep debugger SPCR writes free of side effects. Stop a transfer a mode fault ended from a callback, tidy debugger state. Bind SCK and MOSI on the SPI itself and log slave mode always. Fixed reset and rate change ordering and tidy up. Start the first frame a whole bit time after the byte moves to the shifter. Note the receive clock phase left by a rate change. Note when TDRE sets and when RE is checked. Replaced device_serial_interface with the SCI's own RT clock. Track the transmit timer explicitly and fixed receiver corner cases. Keep an SCSR read when a flag sets again and restart the start qualifiers. Ignore SBK while TE is clear and tidy up. Factor out the break test and note the SBK cases (m6805\m68hc05_spi.cpp).
  . MCS-48
    . Added Fujitsu MB8881 variant of Intel 8039. Added one character to flags string specifier (from 11 to 12), stack bit 0 was not shown. Enable undocumented opcode 0x76 (JNC) for i8021 (mcs48\mcs48.cpp).
    . Fixed UPI-41 flag outputs after EN FLAGS. Gate P24/P25 with the buffer status without modifying the software P2 latch. Allow port writes to inhibit or re-enable the flag outputs, and refresh the pins when enabling flags or updating the host buffers. Moved UPI-41 port flag handling into subclass (mcs48\mcs48.cpp).
  . National Semiconductor COP4xx: Don't inhibit interrupts on LQID. Assisted by Claude Opus 5.5 (cop400\cop400.cpp).
  . NCR 53C7xx SCSI
    . Initial support for the NCR53C710. Split the generic ncr53c7xx_device into ncr53c700_device and ncr53c710_device. Changed register defines into constants. Convert the UNIMPLEMENTED define into a function. Correct DCNTL bit definitions and implemented manual-start. Correct SCSI selection to present both initiator and target IDs. Added target BSY waiting. Correct SFBR to latch the first byte of each Block Move. Added masked SFBR comparisons for Transfer Control instructions. Correct Block Move opcode widths and rejected reserved initiator opcode 0. Implemented 53C710 specific software reset and SIGP handling. Support big-endian mode on the 53C710. Added 53C710 table-indirect Block Move and selection operands. Added 53C710 register/SFBR read-modify-write SCRIPTS instructions. Added 53C710 memory-to-memory moves. Added relative Transfer Control addresses. Implemented SIGP wakeup from Wait Reselect. Improved logging. Added SCRIPTS disassembly for the newly supported 53C710 instructions. Added working SCSI support to the Amiga 4000T driver. The system successfully boots now instead of hanging while checking for SCSI. GPT-5.6-SOL was used as a research and debugging tool (machine\53c7xx.cpp).
    . Fixed some issues shown by the ReAmiga diagnostic test: Don't fatalerror when the DMA watchdog is set. Honor memmask on writes to the TEMP register. Implemented CTEST5 ADCK and BBCK manual DMA address/count clocks. Implemented ISTAT software resets. Gate external interrupt by SIEN and DIEN. All tests now pass except for the FIFO and low level tests. GPT-5.6-SOL was used as a research and debugging tool (machine\53c7xx.cpp).
  . NEC uPD7720/25: Split the NEC uPD7725 CPU core into separate cores for the uPD7720 and uPD7725, getting rid of some gross code that live-converted the former into the latter. Changed the uPD7720/7725 CPU cores to use a separate address space instead of an array for data ram access, easing debugging (upd7725\upd7720.cpp and upd7725/upd7725.cpp).
  . NEC uPD78C10: Fixed carry out of ADCX with carry in. ADCX added the carry into the result but passed 0 as the carry to ZHC_ADD, so A + 0xFF + CY with CY set cleared CY instead of setting it. ADC, ADCW and ACI already pass the carry (upd7810\upd7810_opcodes.cpp). Implemented I/O interface mode serial transfers and the CI event counter input. Assisted by Claude Opus 5.5 (upd7810\upd7810.cpp).
  . NEC Vxx
    . Added a register map for the NEC V20/V30/V33 family (debugger\debuggdbstub.cpp). Made GENPC importable on the V20/V30/V33 and V25/V35 cores (nec\nec.cpp).
    . Fixed jl and jnl (nec\necinstr.hxx). Fixed address of the second word of far pointers (LES/LDS/CALL FAR/JMP FAR/BOUND). Read the second word of a far pointer at offset+2 in the segment. Describe the hardware behaviour in the GetnextRMWord comment. Code written by Claude/Opus 5.5 (nec\necmodrm.h).
  . NEC V2x, V3x, V4x and V5x: Many bug fixes. retry_access() is supported for I/O handlers. IN/OUT/INS/OUTS dont update AL/AW or IX/IY before calling the handler to facilitate retry_access(). Word I/O at odd addresses now automatically decomposes to 2 8-bit bus operations. This is more accurate, but may cause side effects. NEG sets AC and V now, signed MUL sets CY/V under the correct conditions, CHKIND computes the bounds as signed, like 80186 BOUND, PUSH SP pushes the decremented SP, signed word DIV uses a 64-bit operation internally to fix emulated programs being able to crash MAME, shifts with a count >= 32 now give proper results, the F6/F7 variants of TEST clear AC like the other forms, AAA/AAS now takes V20/V30 differences into account. Cycle timing corrections for MOVSW and CMPSW (nec\nec.cpp) [R. Belmont].
  . NEC V25: Fixes and updates. The timer control registers can now be read back properly. DMA requests can be triggered from both the DMARQ pins and the TC pins. Implemented async mode in the serial interface. Only the first interrupt of a group carries its priority. nstruction cycle counts from manual. Fixed REP resume after interrupt. Give the V25 its own specific cycle counts, MAME previously reused the V20's which are slower. Bank-switched interrupts save and restore the REP context. Assisted by Claude Opus 5 (nec\v25.cpp). Fixes audio CPU crashes if some sound effects are triggered during player death in clone V-Five (Japan) (ID 09546).
  . NEC V30: RESET no longer clears the general registers. DAA/DAS now use the flags properly. AAA/AAS updates S/Z/P/V correctly. ADD4S/SUB4S/CMP4S: Fixed flag usage and updating and wrap IX/IY at 64k. TEST1 updates S, P, AC and Z correctly. ROL4/ROR4 now properly handle ALs upper nibble. INS/EXT set the flags correctly now. Signed MUL/IMUL set the flags correctly now. DIV/DIVU set the flags as documented now. AAM uses its immediate as the base instead of a fixed 10. AAD sets the flags correctly now. opcode D6 is XLAT, not SETALC. 8C and 8E versions of MOV only decode 2 segment register bits. All V30 and universal changes verified with PCTTEST and regression tested on multiple drivers (nec\nec.cpp).
  . NEC V60: Incorrectly printed opcodes DBLT/DBLE/DBV/DBNV in disassembly. Latent issue with incorrect opsize usage in disassembly. Stale m_amflag caused segfault (v60\am2.hxx, v60\op12.hxx and v60\v60d.cpp). Fixed irqline array oob access (v60\v60.cpp).
  . NEC V810
    . Implemented the TRAP instruction. Added optional bus timing and use it for the PC-FX. Halt on a fatal exception. Fixed MUL and MULU with r30 as the destination and their flags (v810\v810.cpp).
    . Raise the zero division exception, fix DIV overflow and the OV flag. Raise the invalid instruction exception, add the NVC for the Virtual Boy instructions. Implemented the bit string search instructions, fix zero length bit strings. Implemented CAXI. Fixed the S flag of ORI and XORI, and SHL flags with a count of 0. Fixed the system registers. Check for interrupts after every instruction, implement HALT. Fixed the floating point instructions and raise floating point exceptions. Run bit strings a word at a time, with bus wait states. Implemented the NMI input and the address trap. Moved the NVC instructions into nintendo_nvc_device, add an NVC disassembler (v810\v810.cpp).
  . NEC VR5500: NEC VR5500 has unique page mask and Config encodings vs. stock MIPS III. Fixing this allows jnero to write a correct display list instead of garbage (mips\mips3.cpp and mips3com.cpp).
  . Philips SCC68070
    . Fixed UART Status. This change fixes several issues in the UART for this device. This has the effect of resolving some errors in the CD-i bios tests. Previously, UART would flag as Ready on every callback. Now it won't identify as ready while a transmission is currently queued. It would also preserve the Break flag on reset. This change correctly resets the Break flag. Finally, this unsets Ready when transmitting a write (machine\scc68070.cpp).
    . Fixed I2C Mismatch. The bits in line 612 don't match line 492 where I2C level is reset. It seems to be accidentally copying the m_uart_rx_int value instead (machine\scc68070.cpp).
  . RCA CDP180x: Implemented CDP1804/1805/1806 extended instructions, counter modes and internal memory (cosmac\cosmac.cpp).
  . Rockwell R6511Q: Added Rockwell R6511Q one-chip microprocessor. Assisted by Claude Opus 5.5 (m6502\r6511.cpp).
  . Sony CXD8530xx/CXD86xxx (PSX CPU): Moved ram_device into drivers, support all ram window sizes and mirror 0x1fc801xxx registers at 0x9fc801xxx & 0xbfc801xxx (psx\psx.cpp).
  . ST0016: Primary implement tilemap scroll. Use tilemap_t for tilemap. Added notes about tilemap scroll register and tilemap registers. Fixed code style (seta\st0016.cpp).
  . Texas Instruments TMS9995: Correct TMS9995 instruction timing and bus sequencing. Correct TMS9995 division results and timing. Latch TMS9995 reset waits and sequence the reset vector. Align TMS9995 indexed fetches and on-chip byte addresses. Time TMS9995 CRU instructions and STCR writeback. Match TMS9995 multiply bus sequences. Sequence TMS9995 branch and workspace transfers. Time TMS9995 interrupt entry and decrementer requests. Time TMS9995 shifts with a count supplied by R0. Time TMS9995 HOLD and external control strobes. Sample TMS9995 inputs and time bus strobes during reset. Clock the active TMS9995 bus sequence through reset (tms9900\tms9995.cpp).
  . Texas Instruments TMS320C1x: Fixed signed overflow detection in ADDH. Correct the low-word member name in ADDH (tms320c1x\tms320c1x.cpp).
  . Texas Instruments TMS320C51/53: Implemented set/clear carry and SBBB, used by Dangerous Curves (tms320c5x\320c5x_ops.ipp)
  . Toshiba TMP90xxx/TMP91640: Fixed CPIR infinitely looping. Combined LDI/LDD and added CPD (tlcs90\tlcs90.cpp). Preliminary hook up of the ADC (tlcs90\tlcs90.cpp).
  . Toshiba TMP95C061/63
    . Fixes and updates. Route P6 data writes to port 6. Dispatch INT6 and INT7. Correct the 8-bit timer prescaler taps. Implemented the INTNEST control register. Do not dispatch a vector micro-DMA owns. Give the serial channels a bit-serial path. Restore the 8-bit timer prescaler taps. The taps were moved four bits lower in 6756074d97, which made every 8-bit timer sixteen times faster and garbled ngp/ngpc music. This puts them back, so tlcs900_handle_timers behaves exactly as it did before that change and matches tmp95c063 again. Assisted by Claude Opus 5 (tlcs900\tmp95c061.cpp).
    . Whitespace cleanups (tlcs900\tlcs900.cpp). Align mnemonic arrays (tlcs900\dasm900.cpp). Small updates: More use of references instead of pointers. Where appropriate mark variables const and more use of BIT. Reduced code duplication through templates and by introducing execute_op method. Use functional casts. Assisted by GLM-5.3 (tlcs900\tlcs900.cpp). Use std::popcount rather than a loop and lowercase hexadecimal. Get stuff out of the global namespace (tlcs900\tlcs900.cpp). Tabulated some disassembler tables (tlcs900\dasm900.cpp).
  . Votrax SC-01/-A
    . Fixed a sign error that can make the SC-01 F2 noise-injection filter unstable for valid internal ROM states (sound\votrax.cpp). Fixes sound cuts off in Q*bert and Q*bert's Qubes after a while and doesn't come back (except for the knocker) (ID 09521).
    . Latch the SC-01 closure on the delay shared with the noise amplitude, restoring P/T/K release bursts. Rebalance SC-01 noise against voice so P is a breath, not a T-like burst (GitHub #16372) (sound\votrax.cpp).
  . WDC W65C816: New cycle-interruptable 65816 core (WDC W65C816S) using the existing m6502 generator infrastructure. Claude Opus 5 assisted with conformance testing and a final refactor and cleanup pass (m6502\m6502d.cpp and m6502\m6502make.py). Converted ramstar to w65816 core. Include w65816 as an option (tools\unidasm.cpp). Added optional AS_DATA for w65816 so it has the same flexibility g65816 had (m6502\w65816.cpp). Fixed regressed status flag bits (like #14279). Also adjust register order and restore IRQ/NMI state, to match g65816. Adopt lowercase P flags convention, matching Apple firmware & docs (m6502\w65816.cpp). Added VDA/VPA bus status and RDY signaling for WAI. Track VDA and VPA on every bus cycle, exposed through get_vda() and get_vpa(). Set VDA=VPA=0 during internal cycles, including implied/accumulator operations, branches, page crossings, indexed accesses, direct-page penalties, stack operations, block moves and RMW modify cycles. Report reset cycles with VDA=VPA=1 for the opcode fetch, followed by stack reads with VDA=1. Preserve emulation-mode RMW dummy writes with VDA=0. Added rdy_cb(): WAI drives RDY low until an interrupt arrives, and reset releases it. Assisted by Claude Opus 5.5 (m6502\w65816.cpp).
  . Zilog Z8001/2
    . Correct CPU/MMU behavior. Fixed addr_to_reg segment mask to replace full high byte. Fixed MULTW carry-flag boundary. Preserve DIVW/DIVL quotient on representable overflow. Toggle H flag in COMFLG. Write POPL @Rd,@Rs result to memory. Read indirect MULTL operand from memory. Fixed dynamic shift dispatch and count sign-extension. Fixed RRDB temp register and RLDB/RRDB S flag. Accumulate V flag across shift/rotate steps. Fixed compare-string repeat and block-move Z flag. Fixed SOTIRB/SOUTIB source not incrementing (bumped segment word instead of offset). Fixed block-I/O instruction flags and address increment. Fixed COMB @Rd destination register decode. Trap the 4F extended EPU family at the correct instruction. Preserve the indexed LDA operand across an overlapping destination. Derive the DAB correction table from measured Z8001 behaviour. Leave the tcc destination alone when the condition is false. Fixed the MULTL carry boundary. Take the DIV overflow sign flag from the whole quotient. Order the translate RH1 writeback against the pointer step. Replaced the whole high word when writing a segmented address back. Do not mask PSAPSEG through LDCTL. Read a byte for the non-indexed COMB. Do not mask the FCW written through LDCTL. Calculate DAB correction directly (z8000\z8000.cpp).
    . Fixed issues found by running SADIE diagnostics. Improved SADIE diagnostic coverage. Keep bit 15 of the PC segment word as loaded. Note that m_addr_b15 is per-instruction state (z8000\z8000.cpp).
  . Zilog Z80180/Z8S180/Z80182 and Hitachi HD64180RP: Fixed some bugs found when bringing up the (MESS) Apple II RamFAST SCSI card. When starting a timer, use its reload value, not zero. Fixed DMA completion IRQs being silently dropped when IFF is clear. Check the right bit for the DMA1 interrupt's edge vs level trigger setting. Internal IRQs could be taken while another interrupt was in flight and completely hose the machine state. External IRQs were already properly gated. Debugging was assisted by Claude Opus 5 (z180\z180.cpp). RX interrupt is edge-triggered; a second byte waiting in the FIFO raises no new interrupt (z180\z180asci.cpp).
- SOUND
  . 4th order LPF: Exposed output streams for each stage. Made it possible to scale the cutoff frequency of each stage. Added notes, did minor code reorganization and optimization (sound/va_vcf.cpp).
  . Atari CAGE: Clear IRQ0 on CAGE sound system reset, fixes tmek20 no longer hangs trying to get in game (ID 08741). Use GPT-6 Astra Extra High (shared\cage.cpp).
  . Atari JSA I/II/III Sound Board: Require OKI regions to be configured for JSAIII / JSAIIIs - improved sound in Road Riot's Revenge, promoted game to working. Removed duplicated ROM loading in some games (spclords etc.) and manually set OKI regions for the device. There's only a single OKI ROM on the sound board, shared between both chips (atari\atarijsa.cpp).
  . CD/DA: Play CD audio through sound\cdda and added CD Player Control menu (ui\cdctrl.cpp). Assisted by Claude Opus 5.5.
  . CEM3394 Synthesizer Voice: Used enum to identify filter output (sound\cem3394.cpp)
  . Creative Labs CT1745 SB16 Mixer: Make irq/dma select to be user defined (sound\ct1745.cpp)
  . Ensoniq ES5503: Rewrote around a strict update-per-slot model. This resolves all of the issues in DOCGRADE.po that aren't due to IIgs fast/slow timing. The measured volume register response of the 5503 is not linear. Make that so. Values were measured by Geoff Pursell. Huge thanks to him! The curve fitting and equation used were found by Claude Fable 5.2 (sound\es5503.cpp). Invalid registers float high (sound\es5503.cpp).
  . Ensoniq ES5506: Make ES5506 filter finer than ES5505, match as documents (ES5506 Technical specification Revision 2.3).
  . FM core: Fixed -Warray-bounds error on Clang 23 for the OPN engine. fm_engine_base::output() unconditionally references m_operator[13] and m_operator[17] in the OPL rhythm-mode path. For the Y8950/OPN register type OPERATORS is 12, so Clang 23's -Warray-bounds (plus -Werror) rejects the template instantiation even though the branch is dead at runtime (rhythm_enable() is 0 for all non-OPL chips). Guard the references with if constexpr (OPERATORS > 17); behavior is unchanged for all register types. See aaronsgiles/ymfm#72 (ymfm\src\ymfm_fm.ipp).
  . GI SP0256 Narrator Speech Processor: Adjust divider to achieve 10kHz sample rate
  . ICS2115 WaveFront Synthesizer: Improved register 0x10 implementation. Minor revert volume envelope behaviour (previous improvement retains to comment). Fixed namings. Reference: https://github.com/MiSTer-devel/Arcade-IGSPGM_MiSTer (sound\ics2115.cpp).
  . Konami 053260 KDSC: Fixed pan LUT value based on RE'd schematics and trace (https://github.com/furrtek/SiliconRE/tree/master/Konami/053260). Use GPT-6 Astra for analysis (sound\k053260.cpp).
  . MagicEyes VRender0 SoC
    . Set screen to avoid fatal error when a terminal is active and added setter for external UART clock (machine\vrender0.cpp).
    . Use an enum for interrupt sources. Implemented light pen registers for P's Attack lightguns. Timerize DMA operation, acknowledge horizontal sync bit in CRTMOD register (machine\vrender0.cpp).
    . Implemented external UART clock and worked around problem with buffer space polling. Claude Opus 5 implementation (machine\vr0uart.cpp). Hold further interrupt requests until INTVEC is written. Claude Opus 5.5 implemented this (machine\vrender0.cpp).
  . PlayStation SPU: Use ram_device. Support 512k/1mb/2m/4m SPU RAM (sample code at https://github.com/smf-/nolibgs_hello_worlds_spuram. Fixed register/DMA endian issues. Implemented master volume, voice1&3 decoded data writing and write CD decoded data even if no CD/XA playing. Use a timer to trigger SPU IRQ at the correct time. Implemented first/second half decoded data flag in status register. Extend SPU register space to support channel volume reading. Fixed chon register reading and FM chaining. Removed unused non interpolating code as the SPU always interpolates. Update SPU repeat address register when hitting a loop start (sound generation needs an overhaul to make this work properly). Fixes Judge Dredd audio delay in cutscenes (ID 08914). Fixed PlayStation CD-ROM XA audio playback regression (sound\spu.cpp). Follow the repeat address whatever the flags of the block there. Co-authored by Claude Fable 5.2 (sound\spu.cpp).
  . QS1000: Improvements: Proper key on / key off semantics. Correct volume, panning, and pitch control. Preliminary envelope generator. Found a much more correct ADPCM decode (IMA, but wrapping instead of saturating). Claude Fable 5.1 and GPT-6 Astra both injected MIDI files into Eolith games to help with the analysis and reverse-engineering (sound\qs1000.cpp).
  . QSound (HLE): Added a callback when DSP ready state changes (sound\qsound.cpp and sound\qsoundhle.cpp). Confirmed ROM memory layout for DSP16A variants with larger internal ROMs, updated TODO notes. Fixed setting J and K to negative values with short immediate load instructions on DSP16A. Show signed immediate values for short immediate load to J or K. Fixed bugs in cache instruction analysis and added helpers for logging analysed instructions (dsp16\dsp16.cpp).
  . RCA CDP1869 VIS
    . Fixed tone and white noise output. Fixes sound in (MESS) tmc600, comx35, pecom64 and the Cidelsa arcade machines (altair and destryer). Implemented by Claude Opus 5 and based on recordings from a real TMC600. Validated that the sound output matches the recordings nigh 100% (sound\cdp1869.cpp).
    . Improved video accuracy. Proper tone-on-tone palette. Partial updates on OUT 3. Wrap the refresh address counter at the maximum page memory size. Ignore CPU accesses to page and character memory during display time. Assisted by Claude Opus 5 and validated side-by-side with a real TMC600 (sound\cdp1869.cpp).
  . Samsung KS0164 audio processor: Tweak KS0164 output
  . Sega PCM/Sega 315-5218 PCM: Fixed end address off-by-1 regression (sound\segapcm.cpp). Fixes broken engine sounds in Enduro Racer (ID 09512) and skidding sound in Out Run (ID 09548).
  . Seta ST0016 (Audio): Improved sound emulation. Linear interpolation between samples: Hardware shows none of the images a nearest-sample fetch produces (mayjinsn/mayjisn2 samples play at 5.6-16 kHz on the 62.5 kHz output). Non-linear (mu-law like, 3-bit exponent / 4-bit mantissa float) sample format, enabled by voice 7 register $1f bit 1: set by renju, srmp5, gostop, koikois, nratechu, dcrown; clear in mayjinsn, mayjisn2, speglsht, macs, jclub2. Matches the byte statistics of the sample banks and renju PCB footage. Exponential volume law (~6 dB per 8 steps, 0 = mute) instead of linear; fitted to mayjisn2/renju PCB footage. Assisted by Claude Fable 5 (sound\st0016.cpp).
  . SN76496: Revert mistaken change from 2010 (!) which broke TI99 Car Wars (Github #16947). Gemini 4 Neon assisted with debugging this issue (sound\sn76496.cpp).
  . Sound Interface
    . Open device at emu rate to avoid resampler drift and compare queue bytes against bytes in backpressure check (assisted by GLM-5.1; sound\sdl3_sound.cpp).
    . Many CoreAudio fixes and improvements: Fixed missing comma after "Left Top Middle" in sMacChannelLabels, causing descriptions to desync. Fixed unbounded lookup in unknown-label fallback. Fixed some channels getting two descriptions. Fixed channel bitmap translation for channels > 31. Fixed -verbose logging for channels using the bitmap lookup. Fixed m_nodes desync caused by skipped devices. Guard against null device_uid/device_name. Source render callback now verifies against the buffer size. Fixed issue where source buffer could be smaller than a devices minimum buffer. Sink and source channels are now accounted for separately. node.m_sinks / m_sources were double-counted in some configurations. Source streams were opened with the stream count instead of the channel count. m_channels was never set for source streams. Node scope and rate range now chosen from is_sink rather than in_streams > 0. Sample-rate property address was missing PROPERTY_ELEMENT_MASTER. Error numbers were being discarded instead of reported in some cases. Input callback was moved from kAudioUnitScope_Output to Global. Packet size is now clamped to BufferFrameSizeRange. m_max_frames is now derived from MaximumFramesPerSlice and BufferFrameSizeRange. Input-path error message said "output device". m_need_generation_bump is now atomic for thread safety. AudioUnitRender failures no longer osd_printf_error from the realtime I/O thread. m_stream_id starts at 1; open failures return 0 rather than -1. Top Rear Center X and LFE 3 channels are now properly reported to the core. static_assert added to validate the channel lookup table. set/clear_property_listener take AudioObjectPropertySelector, not AudioObjectPropertyElement. Added selector_name() for improved FourCC logging. Device-gone errors on listener removal are verbose, not errors (e.g. closing the lid on a MacBook). Stream-config buffer list uses unique_ptr instead of malloc/free. m_input_buffer.set_latency() moved from the sink path to the source path. Claude Opus 4.8 and 5 assisted with research and debugging for some of these issues (sound\coreaudio_sound.cpp).
    . Fixed microphone input stride for interleaved capture. The equal-rate microphone reader steps through interleaved capture data using the emulated stream's output count. This mixes or skips source channels when host and guest channel counts differ. Advance using the source buffer's channel count, as the input resamplers already do (emu\sound.cpp).
  . Yamaha SWP30 sound chip
    . Two register field width fixes in the streaming block. IIR2's a1 and b1 registers were swapped and the DPCM accumulator leaked in compressor modes 0-2.
    . Fixed three meg drc mismatches with the interpreter. Make the revram enable register readable.
    . Meg memory reads with bit 0x23 use an absolute address. Interpolate backwards samples in playback order.
    . Fixed a non-const static array and implemented swappable idiom properly. Fixed meg alu corner cases found on distortion-type effects. DPCM keeps the multiplier remainder and the next delta comes from what was added.
    . A reverb ram bank turned off in the tlb enable drops writes and reads as zero. Generate the memory accesses for the banks that are on, rather than testing the enable bit at run time.
    . Meg writes to the delay memory truncate towards zero. The low nibble of the mixer attenuation is in 1/32 steps. Read the second pair of 16-bit samples from the next word, and keep the dpcm position across the loop.
  . Yamaha YMF271 OPX
    . Rewrote the YMF271 (OPX) core. Replaces the MAME-derived core with a new one. The model follows recordings of real hardware (no chip was available for direct probing): FM: OPM-style operators (logsin/exp tables, envelope generator at fs/2 with rate key scaling, detune, per-slot LFO with AM/PM), all 16 4-op algorithms, the 2x2-op and 3-op+PCM sync modes, feedback and the non-sine waveforms. PCM: 8-bit and packed 12-bit samples, linear interpolation, Fs divider and loop/end handling with End flags per slot group. AccOn (saturating accumulation) and Ext En/Ext Out: The extended channels CH4-CH7 (EXT1/EXT2 pins) are exposed as stream outputs 4-7. Status register 0 exposes the End flags of slots 12/24/36 as documented; End flags are cleared when the status register is read (required by the Brave Blade sound driver's voice allocator). Timers, external memory access and the device interface are unchanged. Assisted by Claude Fable 5 (sound\ymf271.cpp).
    . Wave 6 passes the modulation input through as a 9-bit ramp. The linear waveform's modulation input (scaled by MUL, 0 = 1/2) wraps at 9 bits and is stretched by 64 on top of the half-scale DC level, so a modulated wave-6 carrier swings up to 2.5x the range of the other waveforms. Fixes the level of the hi-hat and of the hard-panned synth in the Raiden Fighters ROM update BGM. Fixes Viper Phase 1 title screen SFX and item collection SFX are incorrect (ID 04533) (sound\ymf271.cpp).
  . Yamaha YMF292-F SCSP
    . Implemented main to sound CPU interrupt. Use direct DIPAN/DISDL if no EFSDL available for EXTS input source. Fixed saturn Multiplayer Audio CD silent playback regression (sound\scsp.cpp).
    . Only reading MIBUF takes a MIDI input byte; maintain the MIDI status bits. Reading register 0x404 popped the MIDI input FIFO whatever the access size, so reading just the status byte (as a 68000 driver polling MOFUL before each output byte does) lost input bytes. read() now takes the mem_mask, and only a read that includes MIBUF (the low byte) pops. write() merged with the current value through a normal read, so a write to that word also popped; the merge read now runs with side effects disabled. MOFUL, MOEMP, MIOVF, MIFUL and MIEMP are now returned from the FIFO state; they always read as zero before. A byte arriving while the input FIFO is full is dropped and sets MIOVF (cleared by reading MIBUF) instead of overwriting the FIFO. I used Anthropic's Claude (Claude Opus 5.5, model ID claude-opus-5-5, via Claude Code) to help trace the MIDI input path, write the patch and test it. I've gone through the changes myself and checked them against the register layout described above (sound\scsp.cpp).
    . Don't mirror MADRS at 0x7c0-0x7ff, fixes corrupted and then silent sound in Dead or Alive (sound\scsp.cpp). Fixes wrong Reverb effects in rsgun (ID 09518).
  . Yamaha YMW-258-F: Effect DSP interface, don't clamp voice register numbers. Voice register numbers above 7 were clamped to 7. The TG100 writes FF to register 9 at every key on, which set the amplitude LFO of every voice to maximum depth. Writes to unknown registers are now ignored. Added the YMW258-F's interface to an external effect DSP (YM3413 in the TG100). Determined that voice registers 7-10 are envelope rates and AM depth (sound\multipcm.cpp). Exponential attack curve. The attack closes a fixed fraction of the remaining attenuation per sample instead of ramping linearly in dB, and starts at attenuation 0x2a0 of 0x3ff (-63 dB). The YMF278B manual's attack times are 67 steps (0-100%) and 40 steps (10-90%) of att -= (att >> 4) + 1 starting at 0x2a0. The fixed-point update stays within 3% of the attack time of that curve (sound\gew.cpp).
- DEVICE
  . 2C0xxx PPU/PPC: Fixed missing OAMADDR reset which caused wrong sprite data being used in a number of games. Set sprite0 hit flag only if line is covered by the sprite. Only update vertical position if rendering was active at HBLANK. Fixed (MESS) Uchuu Keibitai SDF startup screen drawing. Game still only partially supported due to glitches in the intro caused by MMC5 vertical split being incorrect. Implemented a documented NTSC PPU quirk with OAM, making Huge Insect sprites to appear during gameplay (video\ppu2c0x.cpp).
  . 3dfx Voodoo Banshee/Voodoo 3: Implemented screen-to-screen blits. Thrill Drive 2 uses this for motion blur post-processing. Co-Authored by Claude Opus 5.5. Fixed Banshee/Voodoo 3 chroma range enable, latch the range per triangle (GitHub #16917) (video\voodoo_banshee.cpp).
  . 3dfx Voodoo Graphics
    . Fixed multibase texture LOD addresses. With TMULTIBASEADDR set, LOD 1, LOD 2 and LODs 3-8 take their base from their own register, but the hardware still adds the LOD's offset within the mipmap chain. Co-Authored by Claude Opus 5.5 (video\voodoo_render.cpp).
    . Added static rasterizers for the Konami Viper racing games. None of the Viper games had entries in the predefined rasterizer table, so every pixel of Thrill Drive 2 and GTI Club 2 went through the generic rasterizer. The 57 entries cover about 85% of the pixels drawn in attract mode and in races on every course. Rendered frames are unchanged. Co-Authored by Claude Opus 5.5 (video\voodoo_render.cpp).
    . Added the two main rasterizers of the Thrill Drive 2 Europe attract demo. They appear later in attract mode than the first 90 seconds and draw about 5% of the pixels each over 400 seconds of attract mode. Co-Authored by Claude Opus 5.5 (video\voodoo_render.cpp).
    . Keep the last mip level and bound texture LOD selection. A texture whose minimum LOD is 32 (LOD 8, the last valid mip level) was treated as having no texture at all, and the LOD clamp used std::clamp, which is undefined when the register's minimum is above its maximum. For split textures without level 8 the selected level could also index past the end of the LOD offset table. Small textures such as Savage Quest's HUD were affected (video\voodoo_render.cpp).
    . Updates and fixes: The status register now reports the FIFO free count correctly. Fixes GLIDE 2.x deadlocks. The high water mark and resume now use the free count; previously the FIFO would overrun and data would be dropped. Loading a state no longer flushes the FIFO, which was causing hanging on loading states (video\voodoo.cpp).
    . Hookup devcb_write_line for VGA passthrough, using pf2012 as an example (video\voodoo.cpp).
  . 3dfx Voodoo 2: Support the SGRAM fill commands used by Savage Quest (video\voodoo_2.cpp)
  . 8042 Keyboard/Mouse Controller: The command byte is cleared on reset (machine\8042kbdc.cpp)
  . AD1848 16-bit SoundPort Stereo Codec: Convert indirect I/O to device_memory_interface and added device ID (sound\ad1848.cpp).
  . ADC0804 A/D Converter: Set conversion cycle count to the max value in the datasheet (machine\adc0804.cpp)
  . ATA/ATAPI
    . Set removable media bit, don't report GOOD to UNIT_READY if no disc is inserted, and reject DVD-ROM commands if we're a CD-ROM (ata\atapicdr.cpp).
    . Don't double-IRQ IDENTIFY PACKET DEVICE (ata\atapihle.cpp). Handle DEVICE_RESET (machine\atahle.cpp). Fixed El Torito boot on e.g. shutms11 (ata\atapicdr.cpp).
    . ATA: Removed mem_mask from ata bus handlers to match hardware. Added default_data() to abstract_ata_interface_device for specifying the default bus state when no devices are driving the bus. Converted ata_hle_device_base base class to a mixin called device_ata_hle_interface. Converted ata_mass_storage_device_base class to a mixin called device_ata_mass_storage_device_interface. Support LBA48. Support IDE_COMMAND_IDLE_IMMEDIATE. Removed IDE_COMMAND_DEVICE_RESET as it's only valid for ATAPI devices (bus\ata\*).
    . ATAPI: Support IDE_COMMAND_RECALIBRATE & IDE_COMMAND_IDLE_IMMEDIATE (ata\atapi*). ATAFLASH: Removed hack for supporting 8 bit compact flash cards. Added default values for CISTPL_MANFID & CISTPL_VERS_1 (pccard\ataflash.cpp). LOG: automatically dispatch to logerror() or device().logerror().
    . Fixed 256 sector geometry (machine\atastorage.h). Added DVDROM as slot option (ata\atadev.cpp). Accept SET FEATURES 0x55 (disable read look-ahead) (machine\atahle.cpp). Set IDE_STATUS_DRDY at the end of all commands except reset and diagnostic (ATA/ATAPI-6 7.15.6.2) (ata\atapihle.cpp and machine\atahle.cpp).
  . ATAPI CD-ROM/DVD-ROM: Stop redbook on seek command (machine\t10mmc.cpp)
  . Atari AVG/DVG: Correct vector intensity scaling (see GitHub #15835) (video\avgdvg.cpp)
  . Atari RLE Motion Objects: Align sprite pen base to the sprite's color depth. Fixes the yellow blood in Primal Rage. OR color and pixel bits (atari\atarirle.cpp).
  . Brooktree Bt47x Color RAMDAC: Use full color range for native 6-bit variants. Update various drivers (artmagic.cpp, chsuper.cpp, coinmvga.cpp, magicard.cpp, tickee.cpp and vcombat.cpp) to use the documented RAMDAC type. GPT-6.1-Sol was used as a research and debugging tool (video\bt47x.cpp)
  . CD-ROM: Support CD+G Discs. Without this change, CD+G discs when played in the CD-i audio player will sound like "crackling". With this change, CD+G discs will play correctly (util\cdrom.cpp). Fixed 64-bit file offset when reading raw images (util\cdrom.cpp).
  . CD40105B FIFO Register: Load each SI pulse into the FIFO only once. A rising SI edge that arrives while the FIFO is full is now held until space frees up. After that word is loaded, holding SI high no longer loads it again on the next shift out. Assisted by Claude Opus 5.5. Fixed save states. Use m_fifo_count == std::size(m_fifo) instead of m_fifo_count == 16 (machine\40105.cpp)
  . Centronics: Added the Hardlock dongle to the available devices (centronics\ctronics.cpp)
  . CGA (ISA8 CGA - 4enlinea, ISA8_CGA_TETRISKR and Yamaha V6363 CMDC (on-board CGA ISA8))
    . M24 mode2 bit 0 enables the 400 line mode, it does not select graphics. Text versus graphics is still selected by bit 1 of the CGA mode control register, so software that leaves mode2 bit 0 set while in text mode had its text page fed to the 1bpp renderer and nothing was displayed. Moved (MESS) chameleon CGA into cga.cpp and correct the charram as it supports 16 rows. Initial chameleon palette support (isa\cga.cpp).
    . Made a subdevice to handle the PCT's slightly non-standard CGA, and to draw properly when it's not the only monitor in MAME (isa\cga.cpp).
  . Clock: Removed timing checks in callback function (machine\clock.cpp)
  . CXD85xxx/CXD86xxx GPU (PSX GPU): Use ram_device. Added support for setting the PAL & NTSC CRTC clock & set the device clock to half the system clock (video\psx.cpp).
  . Dallas DS1202 Timekeeping: Initialized NVRAM from an optional default data region in nvram_default (machine\ds1302.cpp)
  . DECO 55 / 56 / 74 / 141 Tilemap Generator: Fixed attempt to set zero scroll rows. If only one scroll row configured, don't right-shift it. Caused an assertion failure in debug builds (dataeast\deco16ic.cpp).
  . EFO Sound-3 board: Speech chip should be a TMS5200 (shared\efo_sound3.cpp)
  . Flash ROM
    . Added Macronix 29LV320ETTI Flash. Set the correct page size for the 29F010 (machine\intelfsh.cpp). Added MBM29LV160B. A 16 Mbit bottom-boot part, maker 0x04 against device 0x2249, read from the table of acceptable flash devices in the SX-KN7000 firmware. Assisted by Claude Opus 5 (machine\intelfsh.cpp). Added AMD 29F032 (machine\intelfsh.cpp). Added AMD 29LV160, used in the Alesis A6 Andromeda (machine\intelfsh.cpp).
    . Improved erase and program behavior. Erase sets all bits, program clears bits. Page mode: Added a buffer which gets stored when the buffer is full or after a write timeout. Added a special read id case for SNK Neo Geo Pocket cartridge device ids. Added device_reset behavior for chips that have a reset pin. Used Mistral Vibe / GLM-5.3 (machine\intelfsh.cpp).
    . Fixed bottom boot sector erase on 16-bit devices, AMD 29F800B is bottom boot. Claude Opus 5.5 identified the differences between datasheet and MAME implementation: Use the byte address to pick the sector size in the bottom boot block, the word address was being compared against byte offsets on 16-bit devices. AMD 29F800B (and the AMIC A29800U it stands in for) has 16K/8K/8K/32K bottom boot sectors, erasing a sector there wiped the whole first 64KB. Fixes trip7ab flash saving problems (machine\intelfsh.cpp).
    . Correct top-boot geometry and multi-sector erase (machine\intelfsh.cpp)
  . Floppy
    . Added weak sector detection. Fixes (MESS) specpl2a and specpls3 can't load floppy images (ID 06957)(ID 07001) (formats\flopimg.cpp). Support ED disk images. Sum the raw cell times in 64 bits before packing any of them into the 32-bit cell words: for a dense enough track (e.g. ED-density, 400,000 cells at the default per-cell time of 1000) the running total can exceed floppy_image::TIME_MASK's 28-bit range well before the track is fully written, corrupting the type bits of every cell pushed past that point. Normalizing each position inline against the true grand total keeps every packed value within its final (always < 200,000,000) range from the start. Assisted by Claude Sonnet 5 (formats\flopimg.cpp). Fixed get_track_data_fm_pc dropping the last sector of every track. The loop runs "sector < sector_count", so a call with sector_count = N extracts sectors 1 to N-1 and never writes the slot for sector N, which is left with whatever the caller had in the buffer. Its MFM counterpart, get_track_data_mfm_pc_sectors, loops "sector <= end_sector" and does cover the last one, so the two helpers disagree about what sector_count means. Nothing in the tree calls get_track_data_fm_pc today, which is presumably why this has gone unnoticed. It bites as soon as a format uses it to save an FM medium: on an 8 inch IBM 3740 diskette, 77 tracks of 26 sectors, it silently loses sector 26 of every track. Also makes the induction variable int, matching the MFM version, rather than comparing an unsigned to the int parameter (formats\flopimg.cpp). Fixed sectors lost when saving tracks written off the nominal cell size. Let the PLL lock before the index when extracting a track. Keep the PLL run-up out of max_delta. Fixed a hang saving MFM tracks with a mark at the index. Stop scanning a PC MFM track at a mark read across the index. Say a mark ending at the index also ends the scan (formats\flopimg.cpp).
    . Added sector holes for the 10-sector variants used by h17disk (formats\flopimg.cpp). Fixed endless loop when a GCR sync mark wraps past the end of the track. Assisted by Claude Opus 5.5 (formats\flopimg.cpp). Pair each GCR5 header with the data block that follows it (formats\flopimg.cpp).
    . Added verbose message upon loading image (imagedev\floppy.cpp). Batch sequential flux writes. Replaced write_flux with streaming write interface. The batching performance benefit from the earlier write_flux optimization is preserved: Transitions accumulate in the floppy device and are written to the track representation only at flush points, avoiding repeated track vector edits during sequential writes such as formatting (imagedev\floppy.cpp). Resume the disk at its stopped angular position when the motor restarts. Assisted by GPT-6.1 Sol (imagedev\floppy.cpp). Hold the write protect sensor covered and suppress flux for a configurable time during disk changes. Assisted by Claude Opus 5.5 (imagedev\floppy.cpp). Treat neutral/damaged runs as one weak zone, make weak noise a stateless per-revolution stream. Update techspecs/floppy.rst. LLM: Sonnet-5.5 (imagedev\floppy.cpp). Make single-sided drives never report two-sided media. Assisted by Claude Opus 5.5 (imagedev\floppy.cpp). Flush the flux cache on side switches and save the MFM mode flag state in mac_floppy_device. Fixes issues with single-sided disks in double-sided drives, especially Apple drives. Debugging assisted by Claude Opus 5.5 (imagedev\floppy.cpp).
    . Set weak flag for applicable sectors (formats\dsk_dsk.cpp). Standard double-density tracks were padded to 105000 cells instead of the 100000 a 300 rpm / 250 kbps track holds, so the disc spun ~4.75% fast and timing-sensitive loaders polling between bytes fell behind and dropped data. Size the track from its actual sector layout, keeping the extra cells only for layouts that need them (theatre europe on einstein). Assisted by GLM-5.1 (formats\dsk_dsk.cpp).
    . Disable LOG_DESC verbose logging left enabled during development (machine\wd_fdc.cpp). Defer commands issued while a write is still live and fixed DRQ/BUSY/INTRQ ordering on force interrupt. New commands are held (delay_cmd) until a live write's trailing CRC/postamble finishes, instead of corrupting the in-flight write. interrupt_start() now drops a still-pending DRQ when aborting a busy command, matching command_end()/drop_drq() ordering. live_run() checkpoints on write completion so a late CPU register poll can't roll back a session the floppy device already closed. track_w() no longer drops writes when track_buffer is already pending, since the C1571 relies on INC-style back-to-back writes. Fixes (MESS) Commodore 1571 and 1581 MFM disk operations. Assisted by Claude Opus 5 (machine\wd_fdc.cpp). Switch to type II/III status layout when command is written. Assisted by Claude Opus 5.5 (machine\wd_fdc.cpp). Keep requesting data after lost data during WRITE TRACK. Fixes COMX-35 DOS formatting (machine\wd_fdc.cpp). Fixed write abort cleanup and stale Read Address CRC status. Close the floppy's write session when Force Interrupt is used during a Write Track. Read Address retained the previous commands CRC-error flag, causing valid headers to report errors after reading a damaged sector (machine\wd_fdc.cpp). Set side to 0 on master reset (machine\wd_fdc.cpp). Save data register, live state and PLL state. The data register, the live read/write state, the ENMF level, the forced READY setting, the remaining internal flags and counters and the PLL state (analog and digital) were not registered for state saving, so a state saved during a sector read could restore with the read logic out of step (machine\wd_fdc.cpp).
    . Cleared the FIFO and any stale transfer state from a previous command (machine\upd765.cpp). Deassert DRQ on terminal count and prevent FIFO handling from reasserting DRQ after the DMA transfer has completed. Fixes floppy format in ct486 which enables the FDC37C78 FIFO. Fixed formatting (machine\upd765.cpp). In non-dma mode msr bit 5 (execution phase) was asserted for the whole execution phase instead of only while a byte is actually available, so the loader's poll loop lost its per-byte handshake. Assisted by GLM-5.1. Fixes (MESS) cpc6128 [goody, goodys19] freezes after loading (ID 07804) (machine\upd765.cpp). Gate dskchg with motor enable when reading DIR. Fixes (MESS) OS/2 2.x fails to recognize disks during GUI install in ct486 (ID 05573) (machine\upd765.cpp). Added mtr0_cb line for motor-on status (used by CMD FD-4000 to overclock the CPU when accessing disks), implement the DP8473/PC8477 Set Track command and added the PC8477 NSC command to identify the chip (0x72 for PC8477A, 0x73 for PC8477B). Report DIO during non-DMA read execution phase while RQM is low. Assisted by Claude Sonnet 5 (machine\upd765.cpp). st1 should be clear if drive not ready (verified on hardware), EXM should not be set at command start (verified on hardware), set EXM after sector found. Setting exm by !ST1_ND can't work for read track so just use a separate variable to indicate a byte transfer is in progress (machine\upd765.cpp). The HD63266 need not wait for a drive holding no disk (machine\upd765.cpp). Clear ST1_ND once the sector is found on writes. write_data_start() arms ST1_MA | ST1_ND, but write_data_continue()'s SCAN_ID only cleared ST1_MA, so every successful WRITE DATA reported No Data. Fixes formatting a disk on a CMD FD-2000/FD-4000. Assisted by Claude Opus (machine\upd765.cpp). Release WD37C65 soft reset on the first chip access after a hardware reset (Base mode). Assisted by Claude Opus 5.5 (machine\upd765.cpp). Raise the interrupt again after Sense Interrupt Status while another drive has a seek or recalibrate end pending. Assisted by Claude Opus 5.5 (machine\upd765.cpp).
    . Removed hardcoded DSDD format, handle SSDD, DSDD, DSHD and DSED (formats\hxcmfm_dsk.cpp).
    . Moved floppy sound into a separate file (sound\drivesound.cpp) and clean up imagedev\floppy.cpp/h. Lower the spin sound delay (sound\drivesound.cpp). Fixed include guards and added floppy sound to tiny build (sound\drivesound.h). Don't spin up immediately. Approximate real-world spindle spin-up time, i.e. the delay between the motor being switched on and the drive actually picking up speed. Heavier 5.25"/8" mechanisms take noticeably longer to get going than the lighter 3"/3.5" ones. If the motor is switched off again before this time has elapsed, the spin-up sample is never started, so no sound is heard at all. Fixes incessant clicking on CMD FD-2000 disk ready polling. Assisted by Claude Sonnet 5 (sound\drivesound.cpp).
    . Configuration of floppy drive sounds by XML file. Floppy sound sample configuration by XML file. The file floppy.xml is contained in the samples directory and provides a short description of its content. Further information can be found in drivesound.cpp/h.
    . Support D1M/D2M/D4M disk images. Assisted by Claude Sonnet 5 and GPT-5.6 Sol (formats\d2m_dsk.cpp).
    . Treat zero master index entries in tree files as sparse. A tree file whose master index block has a zero entry has no index block for that 128K range: ProDOS allocates neither the index block nor its data blocks, and reads the range back as zeros (ProDOS 8 Technical Reference Manual, B.3.6). any_read and any_blocks fetched block 0, the boot block, and used its bytes as data block pointers, so reading such a file either failed with a block number overflow or returned blocks belonging to other files, and flopblocks/hdblocks listed block 0 and a few hundred unrelated blocks as belonging to the file. This is the same case 47891bc62b5 handled for zero entries inside an index block, one level up (formats\fs_prodos.cpp).
    . Ignore the second side of double-sided images placed in single-sided drives and fixed garbage flag byte for images without a head map. Fixes Osborne 1 booting. Debugging assisted by Claude Opus 5.5 (formats\imd_dsk.cpp). Fixed a hang saving MFM tracks with a mark at the index. Stop scanning an MFM track at a mark read across the index. Don't name the mark flag after the mark struct. Say a mark ending at the index also ends the scan (formats\imd_dsk.cpp).
  . Fujitsu MB89352 SCSI controller: When reading the TEMP register during the Status phase, update the value with the status from the SCSI bus. Fixes generic HBA errors in NetBSD/x68k. Github Copilot used as a debugging aid (machine\mb87030.cpp). Fixed the bus free delay to meet specs (fixes HP300) and cancel the bus timeout when the bus is active (fixes MPC3000) (machine\mb87030.cpp).
  . Hitachi HD44780 LCD Controller: Added parent rom reference (sed1278 and ks0066; video\hd44780.h)
  . Hitachi HD63484 ACRTC
    . Added ACRTC maps for the high and medium resolution. IRQs handling improvements and palette hook-up for low and medium res games and config/serial reversal (where not documented by the dumper) done with assistance of Claude Opus 5 (tabaustria\royalpkr.cpp and video\hd63484.cpp).
    . Fixed command decoder. With this wlfx does not hang anymore. Implemented DWT and DMOD, hy-9802.cpp and hy-268a.cpp show signs of life. Implemented GAI>3, do not bail out for hdw<3, updated drivers to follow that. Use clock() to calculate the frame_period. Debugging was assisted by Claude Opus 5.5 (video\hd63484.cpp).
  . Hudson HuC6260 VCE: Use screen() accessor to access screen (video\huc6260.cpp)
  . I2C Memory: Turn logging off (likely accidentally left enabled). Put new logging behind LOGMASKED (machine\i2chle.cpp and machine\i2cmem.cpp). Support a subaddress byte in read transfers (machine\i2chle.cpp).
  . Imagetek I4100/4220/4300 VDP: Fixed regressions introduced when implementing sprite buffering. Some control registers need to be buffered in addition to sprite RAM (video\imagetek_i4100.cpp).
  . Intel 8251 USART: TxEMPTY remains asserted while transmitting sync characters. Empty commit to restart workflow run (machine\i8251.cpp). Treat a command that sets internal reset as a plain 0x40. Ignore the other bits of a command that sets internal reset. Keep ER on an internal reset command and log the byte as written. Shorten the internal reset comment. Return TxD to marking when a command clears SBRK. Added false start bit detection. End a break only when SBRK goes off, and after an internal reset from sync mode. Drop a redundant start bit check reset. Match transmit_clock's idle rule when ending a break. Fold the x1 receive count into the sync case. Put the start bit check first in receive_clock. Don't repeat a stale RxRDY low, which lost receive interrupts. Drive RxRDY only when it changes. Repeat RxRDY when high, and drive a low only when it falls. Drive RxRDY low on reset, and fold the mb89371 gate into rx_ready_w. Say why RxRDY repeats a 1 and keep the driven levels as bool (machine\i8251.cpp). When writing, delay asserting TxRDY for write recovery time (machine\i8251.cpp).
  . Intel 82371 southbridge: Route DMA channels 5-7 through the 16-bit ISA DMA acknowledge. Channels 5-7 belong to the second (16-bit) DMA controller. The memory side of each transfer already moves whole words, keeping the high byte in m_dma_high_byte, but the card side used the 8-bit dack_r/dack_w path, so a 16-bit card such as the Sound Blaster 16 sent and received only the low byte of each word. Use dack16_r/dack16_w with m_dma_high_byte, as machine\at.cpp does. The PIIX4 ISA device inherits these callbacks, so this applies to it as well (machine\i82371sb.cpp).
  . ISA: Map host BIOSes for available SCSI cards (bus\isa\*)
  . Kaneko KC002/VU002 Sprites: Fixed notes. Hardware with 2 sprite chip is for extend sprite framebuffer output (384x256 with overlay). Cursor Grok 4.6 for analysis.
  . Keyboard: Fixed missing column select pullup (pc_kbd\pcat101.cpp)
  . Konami 005849 Video Controller: Update notes
  . Konami 053250 LVC: Support two-chips-one-RAM mode and support per-line priority. Clip lines at 1024 pixels for Over Drive. Fixes grass showing through some road lines. Debugging and some fix ideas assisted by GPT-6 Astra (konami\k053250.cpp).
  . Konami 053936 PSAC2 tilemap generator: Implemented screen flip for F-1 Grand Prix. The flip bit in gfxctrl was latched but never used. The ROZ layer is not flipped by the video chip at all: The game writes a mirrored 053936 transform matrix itself. Removed MACHINE_NO_COCKTAIL from the f1gp sets; f1gp2 keeps it (different video path, still not implemented). Added support for K053936_wraparound in K053936GP_copyroz32clip (video\k053936.cpp).
  . Konami 054000 Protection: Updates: Fixed naming (use snake_case and lowercase variable names). Use multibyte.h for 24 bit value getter. Fixed logging and side effect checks (konami\k054000.cpp).
  . Konami 054338 Mixer: Restore the invert_alpha comment (konami\k054338.cpp)
  . Konami 056832 Tilemap Generator: Fixed flip origin, which corrects linescroll glitches in Martial Champion and Metamorphic Force (konami\k054156_k054157_k056832.cpp). Fixed Salamander 2 sprite order (K056734 sub) and stage 3 layer priority (K055555 COLPRI). COLPRI now splits layer A only (COLCHG ON bit 0, as Salamander 2 shows); layer B's bit is untested, so B is left as before. set_pen_split returns the layers it split, and the mixer keeps a single PRI 0 entry for the others (layer association off). Array references for its arguments, std::min<int> and util::make_bitmask. The K056734 change moves to its own PR (16815) (konami\k054156_k054157_k056832.cpp).
  . Konami 033906 PCI host bridge: Convert the K033906 to a proper pci_host_device. Planning and regression testing assisted by Claude Opus 5.5 (machine\k033906.cpp).
  . MagicEyes VRender0 Video Engine
    . Don't flip in vblank if the count is zero. Fixes most of the graphics in Trivia R Us dissapears when there's text in Jestbook and Funny Question Game (video\vrender0.cpp) (ID 08891).
    . Fixed some GFX bugs. Claude Opus 5.5 provided the implementation confronting the device with the data sheet and did a regression testing pass on all games using the chip (video\vrender0.cpp).
  . MB89371 Dual Serial UART: Don't repeat a stale RxRDY low, which lost receive interrupts. Pass on RxRDY when its interrupt mask is opened. Keep the masked RxRDY output and drive it when it changes. Repeat a masked RxRDY when high, as the 8251 does. Drive RxRDY low on reset, and fold the mb89371 gate into rx_ready_w. Say why RxRDY repeats a 1 and keep the driven levels as bool (machine\mb89371.cpp).
  . MC6850 ACIA: Initialise all member variables (machine\6850acia.cpp). After a framing error, wait for mark before the next start bit. When the stop bit samples low the receiver set FE and went straight back to looking for a start bit, accepting any low level as one, so a frame longer than the programmed format (e.g. an 8E1 keyboard read as 8N1 by the Apollo DN300 boot PROM) turned the rest of the frame into a spurious all-ones character. A real MC6850 starts on a 1-to-0 transition: after a framing error it now ignores the line until it returns to mark. Co-authored by Claude Opus 5.5 (machine\6850acia.cpp).
  . MC68681 DUART: If FIFO is full entering rx_fifo_push then it's going to overflow so fix off by one and clear STATUS_FIFO_FULL on rx reset. Fixed local loopback to ignore external rx line activity. Don't set TxEMT when a disabled transmitter finishes (machine\mc68681.cpp).
  . MediaGX CS5530 Bridge, SiS 950 LPC Super-South Bridge and VT82C586B 'PIPC' PCI-to-ISA bridge: Fixed DMA16 to remaining PCI chipsets (PR #16542)
  . MOS 6522 VIA and Rockwell R65C22 VIA
    . Fixed T1/T2 free-run timers going backward after underflow instead of counting down and T2 reads lagging T1 by IFR_DELAY clocks. Assisted by Claude Opus 5 (machine\6522via.cpp). Fixed regression which broke QuickTime playback on the (MESS) Pippin. C= 1526 self-test still passes. Debugging assisted by GPT-6 Astra (machine\6522via.cpp).
    . Fixed timer, PB7 and shift-register timing. T1 continuous mode now uses a period of latch+2. The counter also reloads in one-shot mode, and its state is preserved across latch writes. T2 runs as an 8-bit timer when clocking the shift register, passes through $ffff, and preserves its count when the PB6 clock source is changed. PB7 now toggles on T1 timeout in one-shot mode when enabled by ACR bit 7. Shift-register timing has been corrected: CB1 parks after eight bits, accessing SR restarts a completed transfer, and external-clock modes select edges based on the CB1 input state. Timer reads remain at 0 until the interrupt flag is set, preserving the Pippin fix. Elapsed-clock accounting no longer loses one cycle per emulated second. Passes 100% of the VICE VIA test suite. Assisted by Claude Opus 5.5 (machine\6522via.cpp).
    . Changed shift counter to count bits instead of edges. Fixes an edge case (pun intended) where 9 bits could be shifted in instead of 8 if CB1 was initially low. Also clean up logging messages a little (machine\6522via.cpp).
    . Keep returning latched port A/B input after the CA1/CB1 flag is cleared. Assisted by Claude Opus 5.5 (machine\6522via.cpp). Toggle PB7 with a timer 1 latch of 0 in continuous mode. A latch of 0 times out every 2 cycles, so PB7 toggles every 2 cycles (machine\6522via.cpp).
  . Motorola MC6845 CRTC: Don't recompute parameters before device has started. Added a reconfigure callback carrying the retrace positions. Added device address map. Blank screen when horiz or vert displayed (R0/R6) is set to 0. Fixed frames being redrawn from the start address after a mid-frame partial update. Assisted by Claude Opus 5.5 (video\mc6845.cpp).
  . Namco C169 (ROZ): Various fixes and updates. Fixed per-scanline draw method to fix Speed Racer intro and in-game road. Fixed non-wrapped draw to fix Metal Hawk title logo and large ship (ID 06684). Fixed docs. Use Cursor Grok 4.6 (namco\namco_c169roz.cpp).
  . National Semiconductor INS8250/NS16xxx UART: Don't reset the transmitter when the divisor is rewritten unchanged. Fold the divisor latch writes into set_divisor(). Retune when the input clock changes. Don't retune when a state load restores the clock. Correct the divisor comments (machine\ins8250.cpp).
  . NCR 5380 SCSI: Protected constructors with default arguments are a bug waiting to happen. Restore base-part self-reset interrupt (regressed by GitHub #15658). Make SCSI bus reset edge-triggered. The SCSI bus reset (chip reset + interrupt) is triggered by the /RST line transitioning to true, not by it merely being asserted. The previous code triggered on the level (icmd_w reset unconditionally on ASSERT RST; scsi_ctrl_changed on ctrl & S_RST), so a device asserting RST while another device already held it would reset and interrupt a second time. Claude Opus 4.8 assisted with datasheet analysis and implementation (machine\ncr5380.cpp).
  . NCR 53Cxx SCSI Controller
    . Register 0xe must read as 0 on 53C94/53C96. Fixed NCR53CF94/96 features enable bit and revision read back (machine\ncr53c90.cpp).
    . Fixed four differences from a real 53C96. Don't count drained data in bytes twice. Run reset commands when the command stack is full. Leave initiator mode when resetting the SCSI bus. Set sequence step 1 after Select with ATN and Stop (machine\ncr53c90.cpp).
  . NSCSI: Preliminary NSCSI equivalents of the unique legacy SCSI target devices. Mechanical conversions and regression testing assisted by Claude Opus 5.5.
  . OKI MSM6242 RTC: Implemented register write support for host time/date settings, resetting sub-second tick counters upon writing. Added configurable default 12/24-hour mode support (set_default_24h()). Claude was used to help modify the MSM6242 RTC.
  . OKI MSM58321 RTC: Fixed corruption of RTC registers (machine\msm58321.cpp)
  . Paradise Systems PVGA1A i/f: Hookup undocumented identifier readback for WD90C30+ (video\pc_vga_paradise.cpp)
  . PCI
    . Fixed save state issues in the base PCI. Save state divergence tracing assisted by Claude Fable 5.1. Let a PCI root own a bus that has no host bridge. Co-authored by Claude Opus 5.5 (machine\pci.cpp).
    . Return 0 on b_address_base_r, fixes ACPI BIOS conflict with ls5amvp3 AGP mounts (machine\pci.cpp). Host bridges report a type 0 header. Drop overrides. Debugging assisted by Claude Opus 5.5 (machine\pci.cpp). Extract BAR installation and honor mem_mask for address_base_w (machine\pci.cpp).
  . PowerVR 2
    . Cursory cleanup and notes pass. Retire disable render calls debug hook. An extra branch in hot waters over a negligible gain outstayed its welcome at this point (sega\powervr2.cpp).
    . Sample bilinear-filtered textures around the texel centres. The bilinear filter read the texels at (u, v) and (u + 1, v + 1) and weighted them by frac(u) and frac(v). Texel centres are at +0.5, so the result was half a texel off: the blend belongs between the texels at floor(u - 0.5) and floor(u - 0.5) + 1, weighted by frac(u - 0.5). Where a texture has a hard edge, the wrong half-texel pulls the neighbouring row into a pixel that point sampling gets right. Decode 16-bit texture coordinates in polygon vertices. Round texture coordinates down, not toward zero. Co-authored by Claude Sonnet 5.5 (sega\powervr2.cpp).
  . RAM: Convert RAM to slot device to fix limitation of only being able to configure ":ram" from the command line & not having a UI to select the size. RAM sizes are now shown in -listslots/-listdevices & show up as slots rather than ramoptions in -listxml. Slot options are built from set_extra_options()/set_default_size(), so drivers do not require mass changing yet. size()/mask() are valid after device_config_complete(), pointer() can be called before device_start(), so the ram_device does not need to start before the device it's providing ram for. The width of RAM can be set in the drivers, allowing endian issues in state saves to be correct (machine\ram.cpp). Replaced -ramsize in comments with -ram and removed -ramsize from the docs & updated minimaws (ram_device). Updated PSX ram_device consistency, options are currently combined from set_default_size() & set_extra_options() but the other updates duplicated them for easier overriding of the default in the driver (sony\psx.cpp).
  . RAMDAC: Register palette RAM and index and mask registers for saved states (video\ramdac.cpp)
  . RCA CDP1852 I/O: Cache the MODE input, skip idle clock edges and drive the SR output on reset. Assisted by Claude Opus 5.5 (machine\cdp1852.cpp)
  . Real Time Clock interface: Fixed inverted leap-year condition. The shared RTC calendar currently skips 29 February when the stored year is divisible by four and permits it in other years. Correct the rollover condition so devices with leap-year support retain 29 February in the appropriate years (emu\dirtc.cpp).
  . Rockwell 65C52 DACIA: Fixed IRQ clear on status read and fixed transmitter empty status bit (machine\r65c52.cpp)
  . RP5H01 6/7-bit Counter: Inhibit counter clocks while reset is asserted (machine\rp5h01.cpp)
  . S3 86cxxx Vision/Trio64 VGA i/f: Hookup CR50. Fixed SVGA 8-bit mode enable for Cybervision64 (video\pc_vga_s3.cpp). Use vga_device::recompute_params override instead of using a custom fn. Makes SDD usable beyond requiring a patch around drawing engine (video\pc_vga_s3.cpp).
  . SCSI:
    . Mode sense page 0x38. Required by (MESS) EP/IX 2.1.1 on MIPS RS2030 (nscsi\hd.cpp).
    . Fixed INQUIRY and READ DISC INFORMATION for Linux. Reject INQUIRY with EVPD set (nscsi\hd.cpp). Report no device on AppleCD logical units above 0. Honor the READ DISC INFORMATION allocation length (nscsi\cd.cpp). Moved the media change check into a helper. Log IMMED for START/STOP UNIT and EJECT (nscsi\cd.cpp).
  . SCSI HLE: Go to MESSAGE OUT on ATN during a transfer, free the bus on ABORT. Keep an interrupted transfer unless the message is ABORT or BUS DEVICE RESET (machine\nscsi_hle.cpp).
  . Sega 315-5124 SMS1 VDP: Fixed regression in (MESS) Road Rash (Game Gear) after Z80 core changed (When trying to draw the title screen, the wrong part of the screen gets shifted and the game hangs) (ID 09493) (video\315_5124.cpp).
  . Sega 315-5838 / 317-0229 Compression and Encryption: Reworked the device to work with games other than Decathlete (sega\315-5838_317-0229_comp.cpp)
  . Sega 837-13xxx I/O Board: Initialize all twelve port finder tags. Initial implementation overrides for 837-13844 (smarinef and anpanman2). Added rotary encoder setter to 837-13844, hook it up to inunoos. Initial 837-13938 variant, hookup to Crackin' DJ. Hookup inputs and 837-13938 to OutTrigger (sega\jvs13551.cpp). Hookup rotary command 0x23 (machine\jvsdev.cpp).
  . Seibu Kaihatsu SEI0210/211 Sprite generator: Fixed most GFX bugs with 'Terebi Denwa Super Mario World'. Maps sprite flipy with an alias. Align sprite vertical positions and tilemap X positions (seibu\sei021x_sei0220_spr.cpp and seibu\seibu_crtc.cpp.
  . Seiko Instruments S-35390A RTC: Peek at RTC bytes for pin transfers. Prepare the buffered byte for the XaviX pin interface without toggling the machine's debugger side-effects state. Reuse the upstream byte reader on the eighth rising clock to consume the byte and clear the status flags. Keep the original byte handling used by PGM3. The upstream byte transcript matches, and the mapped XaviX pin, save/load and NVRAM checks pass (machine\s35390a.cpp).
  . Serial EEPROM: Handle READY/BUSY flag more accurately during writes (machine\eepromser.cpp)
  . Serial Terminal: Avoid deprecation warning (machine\terminal.cpp)
  . SiS 5513 IDE Controller: Don't map the full 3f4-3f7 IO area. IDE only responds on byte 2. Fixes floppy support. GPT-6.1-Sol was used as a research and debugging tool (machine\sis5513_ide.cpp).
  . SiS 630/6326 VGA: Hookup lower bits of HW cursor address (pattern select), fixes cursor display in win2k (video\pc_vga_sis.cpp).
  . SiS 85C496/497 chipset: Hookup ISA DMA DACKs. isc changes: Don't stomp FDC ranges thru IDE. Hookup eop and dack line. Fixed PCI command/status semantics. Get rid of hardcoding work RAM (machine\sis85c496.cpp).
  . Samsung S3C24xx SoC: Refactored S3C24x0 SoC to be more maintainable. Fixed clock values being truncated from 64 to 32 bits (machine\s3c24xx.cpp).
  . SMC91C9x Ethernet Controller: Fixed allocation, overrun and debugger read behavior. Suppress side effects of debugger reads. Keep failed TX allocations pending. Report a receive overrun when memory is full (machine\smc91c9x.cpp).
  . Sony PSX DMA: A CD DMA word count of 0 transfers 0x10000 words. Fixes (MESS) Saru! Get You! (hang at PS logo) and Crime Crackers (black screen). An OTC DMA word count of 0 clears 0x10000 words (psx\dma.cpp).
  . Taito TC0100SCN: Fixed FG line scroll start column (taito\tc0100scn.cpp)
  . Tseng Labs ET4000AX VGA i/f: Derive w32p placeholder, (try to) fixes RAMDAC modes (video\pc_vga_tseng.cpp).
  . TMS9927 VTC: Fixed cursor visibility check when the display is scrolled. Assisted by Claude Opus 5.5 (video\tms9927.cpp).
  . uPD1990A RTC: old the time counter on Time Set, keep the TP mode on Register Hold (machine\upd1990a.cpp).
  . VGA: Clear buffer on each frame for SVGA modes. Avoid transitional artifacts for 320x240 modes. Added write handler to 0x3c1. Moved start address latch logic in clients for SVGA purposes. Fixed scrolling addresses for Cirrus Logic, Matrox, S3, SiS and Tseng VGA families. Fixed background color mask in text modes, fixes ATC write masks for control registers. Zero PEL shift when line compare occurs in non-mode 13h. Blank screen with sequencer reg 1 bit 5 high  (video\pc_vga.cpp).
  . Western Digital WD33C9x SCSI Controller: Fixed extra nested fn for just setting up a delay timer (machine\wd33c9x.cpp)
  . Winbond W83787F Super I/O: Hookup FDC. Fixed UART address selection and irq triggers (machine\w83787f.cpp).
  . Winbond W83977TF Super I/O: Added the two UARTs (machine\w83977tf.cpp)
  . Z80 CTC: Start the timer on a counter to timer mode change. A control word switching a channel from counter to timer mode without reset and without loading a new time constant left the channel dead: no timer was armed and trigger() no longer counted. The real chip retains the time constant and starts timing on the following clock cycle. Fixes cassette save on the (MESS) Luxor ABC 800/802, whose tape routine relies on this to switch the bit clock. Assisted by Claude Opus 5 (machine\z80ctc.cpp).
  . Z80 SCC Channel
    . Gate transmit FIFO full logging on LOGTX. Release External/Status Interrupt latch upon channel reset (machine\z80scc.cpp).
    . Re-Arm the transmit interrupt when a character is loaded. The "Reset Tx Int Pending" command (WR0 = 101) suppresses transmit interrupts "until after the next character has been loaded into the transmit buffer", but the disarm flag was only cleared at the end of the following tra_complete(). The transmit-buffer-empty interrupt for that very character was therefore swallowed, so a driver that writes the next character from its interrupt handler stopped after one byte. Whether it happened at all depended on the write landing while the shift register was still busy, which made it look intermittent (machine\z80scc.cpp).
    . Updated RR0 latch when Reset External/Status Interrupt command is given and another change is pending (machine\z80scc.cpp). Fixes (MESS) macplus mouse cursor gets dragged to nearest screen corner/edge during disk loading (ID 09539).
    . Fixed regression previously introduced in the case of using RTxC without the BRG. Fixed off-by-one FIFO sizes for both SCC and ESCC. MIE was doing too many things vs. the Zilog manual's description. Now it only gates the INT pin and IUS bit. Claude Fable 5.1 assisted with debug tracing and running regression tests across many SCC-using drivers (machine\z80scc.cpp).
    . Fixed receive overrun reporting and special receive conditions. Only release a held character on Error Reset. Make RR1 describe the character at the FIFO exit. Only hold special-condition characters in modes that do. Report the highest priority interrupt source in RR2. Raise special receive conditions as receive interrupts. Flag the character written over on receive overrun (GitHub #1638). Interrupt on the first character once that mode is selected. The first character interrupt was armed only by Enable Interrupt on Next Rx Character, so the first character after selecting the mode never interrupted. Written with the assistance of Claude Opus 5.5 / Claude Code (machine\z80scc.cpp).
    . Report receive parity and framing errors. The receiver's parity and framing errors were never stored with the character, so RR1 D4 and D6 stayed clear and no special receive condition was raised. Store them in the error FIFO, and keep the parity error latched in RR1 until Error Reset. Keep transmitting through RTS and DTR changes. Every WR5 change reprogrammed the serial frame and reset the transmit shift register, so changing RTS or DTR during a character cut it short and stranded the character waiting in the buffer. TBE never returned and transmission stopped for good. Send and detect breaks. Send Break reached TxD only while a character was shifting out and the receiver never set Break/Abort. Drive TxD low when Send Break is set. Treat a null character with a framing error as the start of a break: set RR0 D7 with an external/status interrupt, and when the line returns to marking, clear it, interrupt again and store one null character (machine\z80scc.cpp).
    . Make Auto Enables gate the transmitter and receiver. Report no pending interrupt in channel B RR2 (machine\z80scc.cpp). Clear WR14 local loopback and auto echo on hardware reset. Fixes x37 keyboard input. Fixed transmitter stalling after a baud rate generator change. Implemented RTxC/TRxC clock inputs. Assisted by Claude Opus 5.5 (machine\z80scc.cpp).
  . Z80 SIO
    . Clear RTS/DTR flags in WR5 on channel reset
    . Fixed interrupt, DMA and status handling. Implemented 8085 three-cycle CALL interrupt acknowledge. Use channel A WR2 for interrupt mode/vector selection. Fixed special receive condition vectoring. Implement WR2A DMA request modes and interrupt suppression. Correct RR0 /RTSB reporting on channel B. Latch external/status inputs until reset and retrigger changed conditions. Suppress reset-time modem control edges. Fixed transmitter interrupt/DMA reset inhibition. Correct CRC preset and sync/hunt state handling. Tighten channel reset and first-character receive interrupt behavior. Fixes (MESS) MikroMikko 1 and 2 MPSC tests. Checked drivers that use z80sio for keyboard input are still working. Assisted by Claude Opus 5 (machine\z80sio.cpp).
    . K68564 improvements: Derive mk68564_device directly from z80sio_device. Correct XMTCTL character-length mapping. Implemented internal loop mode. Implemented MK68564 specific interrupt pending, acknowledge and vector handling. Also reset m_tx_count when starting a transmission from an idle condition to avoid additional delays - this change affects all z80sio devices. GPT-5.6-SOL was used as a research and debugging tool (machine\z80sio.cpp).
    . Only reset m_tx_count when the transmitter was fully idle. GPT-6-ASTRA was used as a research and debugging tool (machine\z80sio.cpp).
  . Zilog Z80 DMA Controller: Propagate BAO only when changed. Fixes (MESS) abc1600 stack overflow on soft reset (machine\z80dma.cpp). Sample RDY at the end of the transfer cycle. z80dma decided whether to continue a burst or block in the same callback as the write, using an RDY value the deferred update had not applied yet. A destination that drops RDY while being written was never noticed and a second spurious byte was pushed at it, corrupting (MESS) abc1600 floppy writes. RDY now tracks the live pin and the continuation decision moves one clock later, into SEQ_TRANS1_SAMPLE_READY. End of block still releases the bus in the same clock and byte-at-a-time is unchanged. (MESS) specnext_dma follows the new state. zorba relied on that extra byte to fill its row buffer in time, which exposed an i8275 pacing bug: The burst space counts character clocks between DMA requests, so measure it from DRQ rather than DACK and do not insert one before the first request of a row. Disable DMA when a control byte is written. Make the destination address counter point at the last byte written. Debugged and implemented by Claude Opus 5 (machine\z80dma.cpp).
- 39in1.cpp: Several Intel XScale PXA255 timer-related fixes for the Linux kernel and support more video depths for drawing. Bugfixed the I2S interface. Fixes sound in 39in1 and friends. Properly calculate the LCD timings. 39in1 now runs at the requested 60 Hz instead of 140. Claude Opus 5.5 assisted with debugging this issue and regression testing the fix (machine\pxa255.cpp). Added savestate registration and member initializers (machine\pxa255.cpp).
- 3do.cpp
  . Fixes to make things boot: Fixed disc status reporting. Made missing XBus devices issure an Abort exception. The non-prototype ALG arcade games both boot, but need lightgun and coin hookups, at least. Debugging and analysis of the 3DO Portfolio source tree assisted by Claude Fable 5 (misc\3do.cpp). Updated driver flags and reword QA header (misc\3do.cpp). Orbatak wants the ALG BIOS to boot. Retire now unused 3dobios romset. Hookup Orbatak inputs. Added base inputs to md23do and sht3do. Hookup player 2 pad by default (misc\3do.cpp). Terminate the player bus (fixes CPU Bach hang & probably others) (misc\3do.cpp). Refine logging levels, make it less noisy by default (misc/3do*.cpp). Hookup lightguns for ALG games (misc\3do.cpp).
  . RISC CPU: Completed the recent 26-bit mode work so this core is now the single source for pre-AArch64 ARM implementations. Also fixed LDM with a banked base in the list, necessary for RISC OS 3's FPEmulator (which was broken on the old core too, for a different reason). Fixed LDR/STR R15 handling in 26-bit mode, which tripped up the aa680 boot ROM. Claude Fable 5 assisted with planning, the mechanical refactoring of the drivers, and the generation of a "before and after" test suite (arm7\arm7.cpp).
  . 3DO DSPP: DSPP has traditional audio DSP one-shot-per-frame scheduling on Opera vs. free-running on M2. Cleaned up frame timing vs icount and implemented AUDLOCK. Fixes DSPP mixing at roughly 39 kHz instead of 44.1. Claude Fable 5 assisted with debugging and verifying that FMV lengths in MAME now match YouTube reference videos. Implemented semaphore. Implemented the RMAP/RBASE mechanism used for register addressing on the original 3DO. Fixes MIDI playback in Sid Meier's CPU Bach. Debugging and interpretation of the Folio source assisted by Claude Fable 5.1 (dspp\dspp.cpp).
  . Madam: Support for direct 1bpp coded, 2bpp coded and 8bpp uncoded. Added CEL projector basis. Added uncoded 8bpp RLE and fixed unpacked 8bpp coded colors. Added Packed CEL 1bpp, 2bpp and 8bpp. Clear Packed buffer after drawing pixel. Implemented relative CEL source/plut addressing. CEL support for yoxy, ldsize, ldprs and ldpixc. Refine CEL timings. Added primary DF setting to alt multiply. Support for MULT 3x3 dot product and swap. Fixed 16bpp lrform=1 drawing. Implemented relative next pointer CEL addressing. Fixed CEL vcnt masking and packed bitstream for 1bpp and 2bpp. Mask woffset10 against 10 bits in packed CELs. Added PIXC Multiply Factor for 8bpp CELs. Added CEL skipx handling. Refactor CEL functions using u32 return values and a special flag for packed transparency. Implemented pover and make 8bpp alt multiply to select from P-mode. Rectify pover handling. Acknowledge use of 2s in alt_multiply. Fixed transparency for non-rectangle packedCELs and unpacked 6bpp coded CELs. Initial PIXC mixing implementation. Emulated Madam memory mapper so 1 MB VRAM works. Adjust base addresses in CEL CCBs on deselected loading flags. Fixed initial value of VDLP scanline source when fb offset is an odd value. Implemented barebones V interpolator output. Initial support for fixed CLUT. PLUT VH interpolation is from the base CEL, not the processed output. Implemented Mult types 1 and 3 and convert to fixed-point. Fixed relative CEL offsetting. Fixed P mode bit in unpacked 6bpp, account for 2D set in PIXC primary sources. Skipx also reduces number of width pixels. Implemented unpacked coded CEL with undocumented bpp=0. Initial implementation of Projector action (rectangle fills). Rectify the actual max range (misc\3do_madam.cpp).
  . Clio: Fixed Clio resetting the ARM to drop into the disc verifier. Bump VINT1 rate to 60 Hz. Hookup DSPP noise register from host side (misc\3do_clio.cpp).
  . Promoted Crime Patrol (USA, 3DO hardware), Mad Dog II: The Lost Gold (USA, 3DO hardware), Orbatak (USA, prototype) and Shootout at Old Tucson (3DO hardware) to working
- actfancr.cpp: Fixed endianness. Removed obsolete comments. CPU is Little endian, so sprite RAM should be Little endian. Also use multibyte.h for 16 bit sprite RAM getter.
- adp.cpp: Replaced generic RAMDAC with Brooktree Bt481 device
- aleck64.cpp: Fixed screen refresh rate regression (nintendo\n64_m.cpp)
- amiga.cpp (alg.cpp, arsystems.cpp, cubo.cpp, mquake.cpp and upscope.cpp)
  . Fixed potential OOB palette select for OCS/ECS. Improved INT2/INT6 processing. Connect CIA 1 PA0/PA1 to SP/CNT (amiga\amiga_m.cpp). Fixed PAL frame length, CIA quantum, parallel port default and port A pull-ups (amiga\amiga.cpp/h and amiga\amiga_m.cpp).
  . Defer copper vblank restart while copper DMA is disabled. Fixes amigaocs_flop:maglines intro. Assisted by GLM-5.1 (amiga\agnus_copper.cpp). Prevent deferred updates from overwriting COPJMP2. Fixes the "lc" tests of the vAmiga Test Suite. Directly write chipset registers instead of going through the CPU (amiga\agnus_copper.cpp).
  . CDTV:
    . Connect CDTV and A570 subcode signals. Hook up 6500/1 remote control input converter. This allows the front-panel buttons for Play/Stop/Prev/Next to work. CD+G playback works now (amiga\amiga.cpp).
    . Correct port C input and interrupt latch handling (machine\6525tpi.cpp).
    . Hook up serial connection between the LC6554 LCD CPU and the CR511B drive. Controls in CD+G now work as expected, as well as the track display on the VFD. GPT-5.6-SOL was used as a research and debugging tool (amiga/cdtv and lc6500\lc6554.cpp).
    . Improved INT2/INT6 processing. Fixes cdtv:snoopy booting (amiga\amiga_m.cpp).
    . CR-511-B CD-ROM drive: Added raw P-W subcode output. Implemented direct drive control by serial interface. Keep SCOR active even for data sectors. Fixes hang after playing video in cdtv:covgrlsp. Cancel pending data transfers on a new read. Fixes cdtv:pinoc (and likely more). Report an error for invalid audio tracks. Fixes cdtv:psychoki and cdtv:psychokia. Use a table based command dispatcher. Implemented commands 0x00, 0x06, 0x80 and 0x83. Support early execution of commands by toggling the cmd line. The cdtest tool now reports "Drive Passed". GPT-5.6-SOL was used as a research and debugging tool (machine\cr511b.cpp).
    . Keep floppy DMA engine running even with no drive attached, Allows CDTV to boot without floppy drives (amiga\amiga.cpp and amiga\paulafdc.cpp).
- amuzy.cpp: Added emulation of the YGV625 video chip. Fleshed out Amuzy driver. Replaced bad dumped YGV sprite rom in boobood, dojokkot, hhunter, itazurac, rodeokng, wanpunch and wwdash. Promoted amhbattl, boobood, docchift, dojokkot, fishbatl, hhunter, itazuracm mmhammer, rodeokng, shpchamp, wanpakup, wanpunch and wwdash to working.
- aristmk5.cpp, belatra.cpp, ertictac.cpp and ssfindo.cpp
  . ARM IOMD: Rework keyboard interface. Moved keyboard connector from iomd to (MESS) riscpc.cpp driver. Fixed bug causing axis inversion on reset. Various fixes towards a7000p -bios 2 boot. Moved interrupt actual hookup to client responsibility, tentatively collect all sources rather than just the active change. Use actual 2 MHz clock for timers and fixed live readbacks. Unconnect keyboards for Arcade targets. Start hooking external interrupts. Fire sound IRQ at the end of a given sound DMA. Added vidstart handling and fixed wrapping address. Fixes (MESS) RISC OS behaviour in F12 Desktop shell. vidend also needs to be wrapped in 4096 segments (machine\arm_iomd.cpp). 
  . Acorn VIDC1x/ARM VIDC20: Added mixer_device, fixes regressed sound mixing. Fixed VIDC20 new sound mode. Disable VIDC10/VIDC20 timer if sound frequency is zero. Implemented VIDC20 external sound clksel and hook it up to 'Pang Pang Car'. Make drawing a bit more safe. Converted to device_mixer_interface and moved speaker hookup to clients, fixes aristmk5 sound routing. Improved pixel clock refresh rate calculations. Acorn VIDC1x/ARM VIDC20: Fixed Acorn VIDC1x sample playback to reduce severe aliasing by correctly sequencing the 8 "channels" and properly added the FIFO and fixed the MEMC-side code to fill said FIFO. Fixed digital serial audio on the vidc20/iomd (machine\acorn_vidc.cpp).
  . Fixed 'See See Find Out' sample rate
- aristmk6.cpp: Correct the SH-4 clocks: 33 MHz oscillator, clock mode 3. The CPU runs at 198 MHz from a 33 MHz oscillator, and the mode pins select clock mode 3, so the peripheral clock is 33 MHz. Save the FPGA interrupt pending and enable bytes. They weren't registered, so a state saved during play came back with the interrupt state cleared, and the game no longer got the interrupts that drive its sound. Correct version, date and spec comments from the ROM headers. The comments on nine GAME lines didn't match the identification block in the game ROM. Most of the block comments above ROM_START already had the right values; kingnileb's had the same wrong version letter. Co-authored by Claude Opus 5.5.
- astrcorp.cpp, astropc.cpp and hummer.cpp
  . Added a List of some CGA missing games. Moved the Astro CPU code device to separate files and changed the model to one that all dumped games agree with. Created a shared device for the encrypted CPU, added it to astropc.cpp too. Planning and implementation aided by Claude Opus 5.5.
  . Fixed sound for gostopac and keno 21. Made Keno 21 register coin presses in game. Fleshed out hummer.cpp. Implemented protection for magibomb simpler encryption sets. Reversed by Claude Opus 5.5.
  . Converted astropc.cpp CF images to CHD. Cooked format conversion done by Claude Opus 5.5.
- atarig42.cpp and harddriv.cpp: Fixed regression from MAME 0.289 for atari asic65 users ('There are a lot of clock information in device...').
- atarigt.cpp and atarigx2.cpp
  . Primal Rage protection emulation improvements and emulation correctness fix for the blood color. Align sprite pen base to the sprite's color depth. Fixes the yellow blood in Primal Rage (atari\atarirle.cpp). Answer Primal Rage protection queries with real data. Emulate the Primal Rage 136094-0004A XGA (atari\atarixga.cpp). AI assistance by Claude Fable 5.1 and Claude Opus 5. Replaced primrage table with a calculation. Use bitswap, but include reference and bail if unexpected value is used.
  . Fixed Primal Rage lightning flash effect and removed fatal assertion on missing protection value. Co-Authored by Claude Opus 5.5.
  . Fixed debugger side effect checks and saved state issues. Cleaned up bit manipulation code (atari\atarixga.cpp).
  . Atari XGA protection improvements. Consolidate XGA protection handling across games. Replaced Road Riot's Revenge hardcoded tables with working protection handling. Added protection handling for final/release T-MEK sets. Improved Moto Frenzy protection hookup with the knowledge gained from the above. Further verify the work done by Andrea Bogazzi on Primal Rage. Use GPT-6 Astra Extra High. Removed the legacy protection hacks. Co-authored by David Haywood (atari\atarixga.cpp).
- atlantis.cpp and midzeus.cpp
  . Rendering improvements. Fixed fast clear leaving depth buffer at nearest. Added untextured solid-color quad path. Clamp translucency factors to fix darkened cars. Decode SGRAM fill color/depth per R5E bit 5. Assisted by Claude Opus 4.8 (video\zeus2.cpp).
  . midzeus.cpp: Allow TMS320 CLKSRC to set internal clock. The driver fakes the C3x on-chip timers and hardcoded the counter at 100ns, but every game programs CLKSRC, which clocks it from the internal clock at H1/2 = CLKIN/4 = 15MHz. This didn't bother The Grid or MK4, but broke Crusin' Exotica.
  . Derive the dot clock from the divider in reg 0x31, hook up render XOffset and report VCOUNT in unscaled lines. Fixes several issues with Skins Game (video\zeus2.cpp).
  . Improved depth and blending. Treat depth-min register as floor, not per-object bias. Depth-test the alpha textures the game asks to. Decode the blend factors in reg 0x40 (video\zeus2.cpp).
  . Fixed commands 0x38, 0xa7 and 0xaf. Fixes announcer's face in The Grid. Fixed solid-fill color register (video\zeus2.cpp). Got rid of static pointer to device member. Replaced a pile of macros with class members. Use cleaner code for swizzling offsets. Got rid of a pile of redundant inline qualifiers and casts (video\zeus2.cpp).
  . Display interrupt on the programmed vsync line. Both generations raised it at the end of active video. mk4 programs 259 into reg 0xC8's high half against 256 active lines, then tests the line counter for equality with 256 to choose between a fast clear and repainting the background with a full-screen quad, so firing at 256 took the fast clear every frame and lost the background. Zeus 1's 0xC6/0xC8/0xCA are Zeus 2's 0x34/0x35/0x36 with the same layout: 259 for mk4 and Invasion, 402 for crusnexo and thegrid, 258 for mwskins. IRQ0 is pulsed, not held: it is level-sensitive with ST bit 14 clear, and the core re-sets IF from a held line as the trap is taken (video\zeus2.cpp).
  . Fixed frozen screen edges and colour key bleed. Take the solid quad's maximum as inclusive. mk4 and invasn fill the screen with a solid quad at (0,0)-(399,255), but poly.h's extents are half-open, so the depth at column 399 and row 255 was never reset and both lines froze. The quad was never a debug path, so name it for what it draws. Key the nearest filter tap, not texel 0. The colour key tested only texels[0] of the four filter taps, so a transparent neighbour bled its palette colour into glyph edges: MK4's round timer carried 18 px of pure green where the PCB has none. Keyed edges also move half a texel, onto the nearest texel instead of the one below it (williams\midzeus_v.cpp).
  . Fixed clipping bug that caused memory trashing (williams\midzeus_v.cpp).
- atvtrack.cpp: Improved driver and emulated needed peripherals. Factory default Smashing Drive sets and added note about how the game stores settings. Address feedback. Promoted ATV Track (set 1), Gaelco Football, Smashing Drive (World) and clones to working.
- banpresto_tomy_h8s.cpp, hideseek.cpp and segaatom.cpp: Added Axell AG-2 (AX51201) graphics controller emulation (video\axell_ag2.cpp). Promoted all banpresto_tomy_h8s.cpp games and Hide & Seek to working except for anpanmct.
- bfm_cobra3.cpp
  . Hook up MC68340 DMA and correct board signals. Read multiplexed inputs from the connected byte lane, pass the video controller interrupt at its asserted polarity and connect the active-high SCSI request to the DMA controller's active-low DREQ input (bfm\bfm_cobra3.cpp).
  . Added preliminary MPEG audio decoder. Implemented the host data interface, active-low reset and request signals, and MPEG-1 Audio Layer II playback using MAME's existing MPEG audio decoder. Improved buffering, control and save-state handling. Map host registers individually. Use fixed-width REQ state. Streamline silent audio output (sound\tms320av110.cpp).
  . Added MPEG-1 video decoder (video\mpeg_video.cpp). Added preliminary SGS-Thomson STi3400 MPEG-1 video decoder emulation (video\sti3400.cpp). Added MPEG video decoding to Bellfruit Cobra 3. Separate video rendering from composition. Preserve main RAM in save states (bfm\bfm_cobra3.cpp).
  . Added cabinet controls, layouts and support save states. Added initialized NVRAM defaults for all five games. Use pairs in layout scripts (bfm\bfm_cobra3.cpp).
  . Split bfm_cobra3.cpp sets into proper clones rather than "altrevs" region (bfm\bfm_cobra3.cpp)
- blzntrnd.cpp: Moved Blazing Tornado and Grand Striker 2 from metro.cpp to their own driver blzntrnd.cpp
- cabaret.cpp and jackie.cpp: Got rid of ROM patches in favour of protection simulation. Claude Opus 5.5 reversed the protection routines.
- calchase.cpp: Fixed PCI device id and config_map. Convert to use the actual PCI chipset. Initial implementation of FDC37C669 Super I/O. Hookup base IRQ pins (machine\fdc37c669.cpp).
- cdi.cpp
  . Philips CD-i: Fixed a few Savestate issues. A few details are lost during save/load. This adds some of them back, including the byteswap state. Soft Reset. Many games currently end with a "Soft Reset" command. Previously this was ignored and the system simply locked up on a cyan screen. This allows the system to reboot. Fixed audio Hiss. Currently this stream filter might identify either an Audio or Video stream when doing mpeg demux. In this case, this results in sending some frames to the wrong device. This can be seen by a "Hiss" sound in Aida - Home Cinema Sound Demonstration Disc (Europe) (En,Fr,De,Nl). After the fix, no more hiss. Misc DVC and Other Fixes. Ignore UART. This prevents the UART buffer from overflowing. That prevents 'CD-I Full Motion Video Update' from failing to end videos after 3 plays (philips\cdi.cpp).
  . CD-i 220 LCD: Enhanced Front Display. The LCD display now has indicator lights. Previously these were erroneously displayed as an 8th digit. This maps the Play and Pause indicator lights on the front panel. Visible when using audio CDs. Fully wires up the LCD display. Map Mute Button (philips\cdi.cpp and philips\cdi220_lcd.cpp). Make 'CD-i 220 LCD' a device. The cdislave hle currently has partial ownership of the LCD panel's state. This makes it harder to replace the slave_HLE with the DSP chip. This change provides a cleaner separation by using a callback, similar to other devices the slave interacts with (philips\cdi220_lcd.cpp).
  . CDIC MCU: Moved CDIC attenuation table to slave HLE. Reverse engineering revealed the attenuation lookup table is in the slave, not the CDIC. This uses the proper lookup table instead of the powf approximation. The result is <0.5% difference in volume (philips\cdicdic.cpp and philips\cdislavehle.cpp). Fixed Multitrack Audio Discs. Allows multitrack discs to play correctly. Previously only the first 1 or 2 tracks worked reliably (philips\cdicdic.cpp). CD+G Graphics. Sends the CD+G subcode data to the CPU for rendering (philips\cdicdic.cpp). Audio Emphasis: The De-emphasis feature is used in Burn Cycle. The change is subtle, and honestly I can't hear the difference. But it's supposed to make some audio samples a little less "hissy" (philips\cdicdic.cpp). Allow track to advance. This early return prevented CD+G discs from working correctly before. Now it was identified as causing errors for other discs including "2 Unlimited". I think it should be removed. Fixed "Skip Audio" freeze. This interrupt currently causes freezes when skipping an audio track on the same frame that the next part of the audio loads. This is a pervasive issue, but one that is hard to reproduce precisely due to the frame perfect timing. Unsetting this flag and updating the interrupt state prevents the system from getting into a dead lock. Fixed Audio freeze. Prevents audio from warping when switching between low and high sampling rates. Fixes another audio freeze caused by desynchronization between the CPU and CDIC status. Prevent false byteswaps. This more elaborate sync message detection prevents false-detection on AntiStatic. Without this, AntiStatic will sometimes give a Dirty Disc error, as it gets locked into a byte-swapped state after playing some songs (philips\cdicdic.cpp).
  . SLAVE MCU: Fixed Opcode length and rename Flag. Adjusted handling of "Disable Input Polling" mode and renamed to "Debug Mode" (philips\cdislavehle.cpp). Added Test Plug. Allow access to a test menu by booting the console with the Test Plug set (philips\cdi.cpp and philips\cdislavehle.cpp). Play Music CDs. This added a small disc-type check to the CD-i Slave HLE. This allows it to recognize music CDs, which triggers the CD player mode. Fixed CDIC Audio Track Size. Full Mute. The attenuation table on the real system does go all the way down to 0x01, however that value is unreachable. The console assumes that entry is always muted. We remove the value from the attenuation table, which fixes the edge case. Handle Feedback. Fixed all feedback. Also attempt to fix chroma interpolation. Updated Firmware version to return 2.0, the actual firmware version (philips\cdislavehle.cpp).
  . SCC68070 peripheral: Cleanup Reset. The reset function has duplicated code and is slightly out of sync. This merge corrects a few mismatches. This likely impacts no games. Also added RAM time to the cdimono2 (philips\cdi.cpp and machine\scc68070.cpp). Make Quizard 1-4 boot again (machine\scc68070.cpp and philips\cdi.cpp). Added AI-modified MCUs for the various languages supported by the Quizard set. Analysis by GPT-5.6 Sol. Improved serial interface/UART behavior (machine\scc68070.cpp). 
  . MCD212 Video Decoder: Fixed Layer Mixing. In some cases, both Path 0 and Path 1 try to set the Matte control. If both try to set it, Path 0 should win. Interleave ICA Execution. Fixes blank screen in (MESS) Abrunhosa & Bandemonio. The Greenbook is clear that if both attempt a write at the same time, then path 0 wins. Improvements to color range (Darken Black Level): Adjust black level to account for NTSC white-point/black-point range. Perform range clamping after plane mixing rather than to each plane independently. Avoid clobbering VSR field in DCR register. Expand MCD212 color range from 16-240 to 0-255, significantly improving DVC mixing. Fixed bios transparency bug. On the cdimono2, there is an obvious transparency bug on the logo screen. This is caused because transparent lines are skipped for processing, preventing the VSR from advancing the way it should. This fixes that oversight and lets all processing occur. m68hc05: Timer is 4x too slow 1<<4 == 16. It should be 1<<2 == 4 to get a fixed prescaler of 4. Improved dtack timing. Following the MCD212 manual, the timing here is for extra cycles. As a result, the system is being overcharged. This speeds up the boot sequence by about 1.5 seconds. Added DE Bit. Display Enable bit was previously not fully implemented. the MCD212 manual clarifies some behaviors. I can't think of any games which use it, so I don't know that this change is noticable. Fixed DYUV Color Rounding. Previously, I built this using a Floor rounding. Upon closer reading of the MCD212 manual, it specifies Truncated rounding. Mostly this is only a difference of which way rounding occurs. But because DYUV is difference based, this can sometimes lead to noticably more vivid colors. Additionally, I thought it would be worth optimizing the hot path here. On my machine this lets me go from an unthrottled speed of 500% to 650% speed. Unthrottled users will see a noticable speed improvement. Screen Height in ST mode. This fixes the vertical height offset in CD-I Prototype Disc (Europe) (Green & Black), as well as some other discs. Null VSR Matte Handling. In "Super Stories - Mom is Going to Stop it" a single video uses plane B with no VSR and a matte transparency. This video currently causes half the screen to turn black because it's not using Always transparent mode, but instead is using ICM matte transparency that happens to cover the entire top of the screen (philips\mcd212.cpp).
  . Digital Video Cartridge: Added MPEG-1 video decoder (video\mpeg_video.cpp). Added Digital Video Cartridge (VMPEG) emulation and NTSC support via cdimono1n machine (philips\cdi.cpp). Added accessors needed by the CD-i Digital Video Cartridge (video\mpeg_video.cpp). Fixed joint stereo band decoding (sound\mpeg_audio.cpp). Added an MPEG-1 system stream demultiplexer (machine\mpeg_demux.cpp). Added CD-i full motion audio decoder (sound\gsc38gg307.cpp). Fixed DVC Stall on Reset. Currently a soft reset (F3) causes the boot to hang. This is because the rw handler is not reset. This fixes that by setting the read write handler on start, and using enable guards in the functions instead (philips\cdidvc.cpp). Fixed Audio Mixing Levels. DVC Audio Attenuation: Implements missing audio attenuation for the new DVC device. As the comment at the top says, this would normally be handled by the DSP, but that's not implemented, so this handles it itself. Scale Volume: The DVC audio is too loud with respect to the CDIC mixed audio. This fixes that (sound\gsc38gg307.cpp and philips\cdicdic.cpp). Added Layer 1 MPEG Audio (sound\gsc38gg307.cpp and sound\mpeg_audio.cpp). DVC fixes: Prevent underflow on videos that already are stopped. Expand audio buffer by a frame. Second issue related to video buffers (sound\gsc38gg307.cpp and video\mcd251.cpp). Fast-forward Time Code. Before: Fast forwarding actually showed a very slow timestamp. After: Timestamp during fast forward is accurate. To reproduce: Try fast forwarding in Addams Family (video\mpeg_video.cpp). Audio Savestate. Switches the DVC audio to use a ring buffer, and stores the save state. Faster Draw. Instead of getting 1 pixel at a time, this gets a full row at a time. This reduces CPU use. Clean up DVC (philips\cdidvc.cpp). 
  . MCD251 MPEG-1: Added MPEG-1 full motion video decoder. Increased DVC buffer. Some discs like 'Ameropa Buchungssystem, Das - Juli 1996 (Germany)' will lock up if it doesn't have enough FIFO space for decoding the FMV. It seems to need around 48kb. This chip is a best guess, and 64 seems more likely than 48. Timing fix. Screen should use the visible area, rather than hardcoded value. Makes a small difference in timing. Simplify some logging logic. Better FMV starving behavior. The previous fix was used to fix '1995 All the News and the Views' however, in 'AIDA Demonstration Disc', a similar issue appeared due to slightly different handling of the end-of-video sequence. This change simplifies this by ending the video any time the FMV decoder is starved for frames. Slow-motion resync. Fixes GitHub #16231. The DVC implementation disabled the hardware's natural resyncing if it was more than 167ms desynced. Addams Family demonstrates that this seems to be an arbitrary and wrong decision, as the video can become desynced by that much on real hardware. So this removes the guard. Improved freezeframe and resume behavior in the DVC for the CD-i. Also fix compilation error from previous. Fixed Mac Compile. Resync Slowdown. Don't drop the frames if behind (video\mcd251.cpp).
  . CD-i Service PCB: Implemented CD-i serial test device (philips\cdipcb.cpp).
- cedar_magnet.cpp
  . New games (Cocomania, Dodge Ball, Double Dragon, Flying Shark, Super Contra and World Wars) and improvements.
  . Added new reconstruction disk to Dracula's Castle (Magnet System) - Promoted game to working. Better dumps for 'A Day In Space (31/03/87)' and clone clone 'War Mission (WM 09/04/87)'. Marked 'Booby Kids (CC, Magnet System)' as BAD_DUMP because of the missing tracks (hence the different size).
- cesclass.cpp: Use GAMEL rather than machine configuration to set layout, avoid the need for an extra derived state class.
- chihiro.cpp: Fixed crash regression (shared\xbox.cpp)
- chihiro.cpp, dc_atomiswave.cpp, naomi.cpp and triforce.cpp
  . Fixed i2cmem communication (sega\naomigd.cpp). Regression likely from MAME 0.279 (Fixed (MESS) later Acclaim sport games fails I2C checks during POST (machine\i2cmem.cpp)). GPT-6.1-Sol was used as a research and debugging tool. Simplify naomigd PIC pull-up handling (sega\naomigd.cpp). Now the GDROM drive will find the CHD of the game (sega\naomigd.cpp).
  . Reworked Haze's threaded Dreamcast/Naomi/Atomiswave renderer into a safe, consistent speedup. Preliminary Sega/Videologic ELAN T&L coprocessor used on Naomi 2 (sega\315_6289.cpp). Naomi 2 games boot and run. GPT-6 Astra assisted with debugging the thread races caused by the original patch and planning and debugging the ELAN device.
  . Ignore writes to m_scfsr2. This prevents software from clearing TDFE avoids issues with software that waits for TDFE to be set (sh\sh4comn.cpp). Fixes mslug6, basschal, basschalo, xtrmhunt, kofnw, kofnwj and vfurlong fails to boot to attract mode (ID 09399). GPT-6.1-Sol was used as a research and debugging tool.
  . Fixed things that should be in the DRC cache (sh/sh.h and sh\sh4.cpp). Fixes kofnw and clone kofnwj fail to boot to attract mode with DRC enabled (ID 09565).
  . Sort out initd* inputs and BIOS defaults. Preliminary Wave Runner GP inputs (sega\naomi.cpp). Hookup inputs for alienfnt and inunoos.
  . Hookup 'Ring Out 4x4' 2x 837-13551 setup, makes it bootable. Initial implementation overrides for 837-13844 (smarinef and anpanman2). Added rotary encoder setter to 837-13844, hook it up to inunoos. Initial 837-13938 variant, hookup to Crackin' DJ. Hookup inputs and 837-13938 to OutTrigger (sega\jvs13551.cpp).
  . Hookup inputs to dygolf, dygolfp and wldrider. Preliminary soulsurf inputs. Added touchscreen for tduno, tduno2 and ntvmys thru 837-13844.
  . Implemented most of the dsp and shi boot. Hard to know how well it works, a lot of plumbing is missing (dsp563xx\dsp563xx.cpp). Fixed ranges of immediate counts for shift instructions. Fixed LC loading for DO {A/B}, expr. Perform 24-bit A/B access for BTST, DOR, MOVEC and MOVEP. DO and DOR skip the loop when count is zero except in SC mode. Refactor LSL, LSR, ROL and ROR helpers to make it clear that these are 24-bit and not 56-bit operations (dsp563xx\dsp56362.cpp).
  . Time G1 DMA at a bus rate instead of a GD-ROM drive's read rate. sb_gdst_w held SB_GDST busy for 1111 us per 2048 bytes, a 12x GD-ROM drive's rate. Every user of this device (Naomi ROM and DIMM boards, Atomiswave) copies from board memory, not from a disc, so use a 20 MB/s bus rate (50 ns per byte), the value Flycast uses for cartridge DMA, instead. Marvel vs Capcom 2 no longer waits about 10 seconds after VERSUS for its 541 DMAs. Assisted by Claude Sonnet 5.5 (sega\naomig1.cpp).
- chinsan.cpp: Subclassing and small cleanups. No functional changes. Switched m_decrypted_opcodes back to unique_ptr, addressing feedback on previous commit. Use standard mahjong matrix.
- cinemat.cpp: Fixed visible area typo. Fixed display regression (vector list should be cleared after each frame).
- cmmb.cpp: Promoted 'Centipede / Millipede / Missile Command (rev 1.03)' and 'Centipede / Millipede / Missile Command / Let's Go Bowling (rev 1.62)' to working. Grok 4.5 assisted with reverse-engineering and Claude Opus 5 assisted with a cleanup/refactor pass once everything worked.
- cntsteer.cpp: Fixed the ROZ parameter interpretation and fixed main/sub CPU IRQs. Debugging was assisted by GPT-6 Astra. Fixed throttle handling.
- cobra.cpp
  . Firm up the CPU to CPU handshaking and recent PPC timing improvements had broken bujutsu booting. Debugging assisted by Claude Fable 5.1. Fixes Racing Jam DX causes MAME to close itself without warning during bootup (ID 09119).
  . Update PCI usage to modern PCI and the new MPC105 device. Hooking up the second MPC105 on the graphics board will be later, further work. Planning the order to pick off the remaining LPCI users was assisted by GPT-6 Astra.
- cobracom.cpp, ghostb.cpp, lastmisn.cpp, oscar.cpp and srdarwin.cpp
  . Split dec8.cpp driver for different hardware configurations (dataeast\cobracom.cpp, ghostb.cpp, lastmisn.cpp, oscar.cpp and srdarwin.cpp)
  . Fixed save state/memory region size (reduced unnecessary areas in ROM regions)
  . Fixed potential out-of-bounds bank selection in dataeast\lastmisn.cpp.
  . Use memory_share_creator for 16-bit copy of sprite RAM.
- corona.cpp
  . Correct palette size for all games. Added a common roulette 6-players controls scheme for luckyrlt and luckyrlta. Reworked the DIP switches scheme for luckyrlt and luckyrlta.
  . Create a new, realistic internal layout featuring the 37-LED roulette wheel and its numbers and added it to Ruleta RE-800 (v1.0/3.0), Ruleta RCI and Lucky Roulette Plus.
- cv1k.cpp
  . Fixed CV1000 video timings. See: https://github.com/buffis/cv1k_research/tree/main/Video_Timings for analysis incl logic analyzer images/raw data (cave\cv1k.cpp).
  . Hitachi SH7709S: Fixed up background cycle accounting and bank conflict checks. Fixed burst write penalty. Fixed precharge conflict timing to use banks. Adjust background cycle accounting. Fixed address used for writeback accounting. Timing fixes + icache sampling changes. Added full icache tracking compile option. Added a couple of extra comments about slowdown oddities that show up in some titles. Added critical word first handling. Fixup background cycle accounting. Fixup some tpc/writeback accounting Don't need to use m_precharge_remaining_cycles as it's a fixed cost we can calculate on the background elapsed cycles. Fixed critical word first handling. Fixed AMX decode table for sdram bank. Move WCR1 to background accounting. Model remaining cpu cycle waits. Added cache port contention handling. These old single port CPU caches with unified I+D cache fight with the pipeline that can have some extra stalls as cache hits are not always "free" anymore. Added a simple model for estimating these contentended cycles. Fixed savestate issue and small cleanup (sh\sh7709s.cpp).
  . Added nandflash r/w and sound write timing (cave\cv1k.cpp). Added nandflash ready delay timing (machine\nandflash.cpp). Also track penalties for EEPROM access. Use the game uncached area access addresses (cave\cv1k.cpp).
  . Added blitter r/w access penalties. Steal bus cycles on blitter uploads (cave\cv1k_v.cpp). Added Blitter bus request gaps between between chunks of uploaded data (cave\cv1k_v.cpp).
  . Added touchscreen support for Medal Mahjong Moukari Bancho. Added a basic SH7709 SCIF device with support for asynchronous mode (sh\sh7709_scif.cpp). Added device implementing required functionality for unknown touch panel used by mmmbanc (cave\cv1k_touch.cpp). Promoted game to working. 
- cyclemb.cpp and kingdrby.cpp: Normalize blue palette. Cleanup kingdrby key matrix reads and misc cleanups. Reworked cyclemb dial handling to avoid deprecated PORT_RESET.
- crystal.cpp
  . Emulated PIC protection in 'Office Yeoin Cheonha' and 'Top Blade V'. Added preliminary PIC16F628A support and rework the pic16x8x core, correcting banking, stack, STATUS writes, Timer0, interrupts, EEPROM unlocks, watchdog and sleep behaviour. Added missing (deprecated) OPTION and TRIS instructions. Load configuration word from ROM region. Replaced officeye and topbladv protection patches with PIC execution, connect the serial/reset interface and promoted 'Office Yeoin Cheonha' to working. Changed SE3208 instruction timing to provisional three-cycles, needed for CPU/PIC communication timing. Update clock rates for Top Blade V based on PLL writes. Assisted by GPT-6.1-Sol and Gemini 3.8 Flash.
  . Completed protection patches for Maldaliza. Game boots with wrong inputs. Missing patches found by Claude Opus 5.
  . Added PIC microcontroller protection simulation for games with undumped microcontrollers. Fixes memory corruption in Donggul Donggul Haerong. Promoted 'Donggul Donggul Haerong' and 'Maldaliza' game to working.
- dangbar.cpp: Tentatively identify some peripherals
- ddenlovr.cpp: Keep all the addressing stuff together in address maps
- ddz.cpp: Added AI notes about encryption and probably missing internal ROM. All sets boot and are seemingly playable but btlfront which still has serioues problems in-game. Claude Opus 5.5 decrypted wakenz80 and the ddz.cpp sets, then HLEd the external custom functions for the latter.
- deshoros.cpp: Switched to configured banking
- dgpix.cpp: Removed protection patches and simulated protection device. Tweak KS0164 output (sound\ks0164.cpp). Promoted 'Beat Player 2000', 'Let's Dance', 'The X-Files' and clone The X-Files (censored, Korea) to working.
- digdug.cpp, galaga.cpp and xevious.cpp
  . Got the xevious_state and derived stuff out of galaga.cpp so the classes and files actually have a correspondence to each other. Required copy/pasting a crystal value and a planar graphics layout.
  . Removed Namco custom chips from Battles bootleg and generally cleaned up. Cleaned up machine configuration, reduced literal tags and tag lookups, cleaned up bit manipulation and added side effect checks to reads. Added missing items to saved states for Battles. Consolidated in one file and moved relevant notes from namco\galaga.cpp.
  . Put all the stuff related to digdug_state in one file to reduce confusion and reduced literal tags slightly (namco\digdug.cpp). Keep only the actual shared stuff in the base class (namco\galaga.cpp).
- dinoking.cpp and gunpey.cpp: Improved Axell AG-1 emulation sprite/graphics display controller (video\axell_ag1.cpp)
- djmain.cpp: Passwords no longer include the control word that is part of the command
- dyna_cpu91a.cpp: Driver (and associated devices) updates - several games marked as WORKING (bsbonanza, bsbonanza10, cb2001, cb4, cb4a, cb5, cb5_11, cb5_13, crzybell, dynastye, mystjb, scherrymp, scherrymp10u, tripjack, tripjack07 and tripjack11). Fixed bg scrolling, mark cb4/c4ba as WRONG COLORS due to incorrect PROMs. Address all remaining PR feedback.
- dyna_d0404.cpp and dyna_d0703.cpp: Fleshed out the driver. Removed bad dumps, dumps that only differed in the saved settings. Updated notes about sound hardware. Claude Opus 5.5 did the heavy lifting. Added Sharp LH28F800SG Flash (machine\intelfsh.cpp).
- dyna_dc4000.cpp
  . Added GFX emulation, inputs and hopper. Games appear to be mostly playable, but need extensive testing. Claude Opus 5 reverse-engineered the blitter.
  . Replaced bad dumped gfx rom in Cherry Master '92 (V1.2D)
- dynax.cpp and royalmah.cpp
  . Correct protection implementation for games based on TMP9* using the internal ROM. cafedoll, clone cafedollg and ougonhai now boot.
  . Descrambled GFX for cafepara and cafebrk. Correct ougonhai memory map. Integrated GitHub #15838 in a more MAME-like way. Fixes mjtkp2 GFX/colors. Thanks to the original author Gently28. Fixed mjtkp2 remaining GFX glitches.
  . Split TMP* based games in a subclass (royalmah.cpp only). Cloud Opus 5 helped with the reverse engineering and documening of the exact protection mechanism and the cafepara/cafebrk GFX ROM descrambling.
  . Correct GFX for Bao Qing Tian (TIC). Claude Opus 5 identified the issue. Identified clones Double Bet (bootleg of Janyou Part 1, set 1) and New Double Bet Mojhong (ver 3.6) as bootlegs, verified differences between the 3 sets. Differences verified by Claude Opus 5.5. Promoted 'New Double Bet Mojhong (ver 3.6)' to working.
- eolith.cpp: Fixed missing sound caused by a now-unnecessary i8052 bug workaround. Debugging and regression testing assisted by Claude Opus 5.5.
- fastfred.cpp: Merged driver into single file
- firebeat.cpp and twinkle.cpp: Added configuration register reads. Added IDE (preliminary, doesn't seem to work right in riscpc). Fix enable bit (CR0 bit 0 not 1). Fixed MIDI 2 clock select (CR4 bit 5 not CR5). Changed default value on IDE ports to match rpcemu-extended. Fixed IDE addressing and added 16bit read/write handlers (machine\fdc37c665gt.cpp).
- funworld.cpp: Moved funquiz games to own subclass, used configured banking and got rid of global variable.
- galgames.cpp: Use Brooktree Bt471 device. Removed custom implementation and bogus 0x1000 palette size. Gemini 3.8 Flash was used as a research and debugging tool.
- galpani2.cpp: Fixed image address banking in MCU simulation and added analysis work. Fixed bg15 renderer stride to 0x100 words and added analysis notes. Clean up test code, keep confirmed stride and banking fixes. bg15 decompression investigation - format not yet cracked. Native decompression test with skip parameter fix. Save all decode attempts and analysis. Raw bytes at w=490 show visible image - NOT RLE compressed. Decoded image grid table at 0xA504 with position fields. Image width confirmed as 490 bytes (245 pixels  16bpp). Width ~320 bytes from autocorrelation, still decoding. Handoff prompt + zoom renders showing anime art at w=324. 8bpp at 320 wide shows clear silhouette, 16bpp at 240 shows art detail. RGB565 at 240x298 shows partial image, data IS compressed. Integrate verified type-0x0020 image decoder into MCU. Added bg_tables include, clip BG15 photo to field area. Treat palette 0x0000 as transparent for level completion reward. Bind masks to current images. Removed SE image decompression from MCU HLE. Smaller MCU. Scan background ROMs for image offsets at init. Address review feedback: constexpr pen test helper, rectangle accessors in the video code. Member defaults moved to the constructor initialiser list. BG15 coverage buffer heap-allocated. util::big_endian_cast for background ROM byte access. Explicit lambda captures, write_dword_unaligned for the girl bitmap. Formatting consistency in init_w and the queue loops. Overlay SE graphics ROMs: Load the SE upgrade EPROMs over the first 2 MiB of background data. Use ROM-order image IDs instead of the synthetic 34-image rotation. Some formatting cleanups, set the Japanese version as a clone of the English 'Quiz' release instead, as this seems to be a distinct later release with additional features. Assisted by Claude Opus 5.5.
- gberet.cpp and jailbrek.cpp: Screen width is 256. Added 2nd spriteram bank to jailbrek.cpp. Update notes (konami\k005849.cpp). Fixed possible cliprect issue.
- gaelco2.cpp: Use bitswap helper for bit shuffling (gaelco\gaelco2_m.cpp).
- gaelco3d.cpp: Keep the 8-bit output of the COLOR3D texture filter. The COLOR3D FPGA on the video board (schematics provided by Gaelco) filters four RGB555 texels using 4-bit fractions and outputs eight bits per channel. Use the same integer arithmetic and render to an RGB32 bitmap instead of truncating the result to RGB555. The palette bank 0x7f blend now works at eight bits. Also wait for the polygon workers before copying the frame to the screen, and remove the commented-out texture viewer. The coordinate bits that drive the fractions and the DAC scaling (full scale is 248) are unverified. This affects all Gaelco 3D games. Assisted by GPT-6 (OpenAI Codex) and Claude Opus 5.5.
- galivan.cpp: Fixes and cleanup. Use BIT.
- gms.cpp: Dumped EEPROMs for sglc, sjms and tbss.
- goldnpkr.cpp
  . Created a high-realism internal layout for Golden Poker games (layout\goldnpkr.lay)
  . DEP 9801 encrypted platform improvements: Added extra bit for graphics bank selector. Fixed graphics banks. Marked the dynplus, lfhouse and lfhouseb graphics ROMs as bad dumps, since they don't match their respective programs and came from other sets. Found just one GFX bitplane of Lucky Full House title. The other two are missing and waiting for a ROM redump.
  . Complete memory map, inputs and DIP switches. Promoted Dash! A.3.7 (ver 1998/10/22), clone Dash! A.3.7 (ver 1996/11/18), Dynamic Chance (Final Type3 DEP ver 1.1) and clones Dynamic Chance (Final Type3 DEP ver 1.1, alt) and Dynamic Plus One (Dynamic SP, AV ver 1.00) to working.
  . Hooked the EXT/AUX inputs to get the complete lfhouse DIP switches bank #1. Fixed initial coinage settings/errors in witchgme and clones. Added initial settings and hardcoded coinage to Witch Game sets. Added 'Payout Rate' dipswitch to Jolli Witch. Also fixed the existent second DIP switches bank, adding the logo/nag and payout rate enable/disable switches. Added technical notes about them.
  . Created a default NVRAM that allows clone Wild Witch (Export, 6T/12T ver 1.57-TE) to boot in game mode. Promoted clone Wild Witch (Export, 6T/12T ver 1.57-TE) to working.
  . Rearranged Video Klein extended memory map and added default NVRAM. Keep the existing Dallas DS1210 NVRAM while adding the default 0000-07ff NVRAM. This fixes missing features such as storing statistics and the last 50 hands.
- goldstar.cpp
  . Cherry Master 99 improvements: Defined output port. Implemented correct ROM banking. Better vblank IRQ handling. Added portmap. Complete inputs set. Bypassed the missing external Hand Count module, mapped in 9140-92FF (0xFF in original dump) to cmast99hc and texas99hc. Assisted by Gemini Neon 4. Added button-lamps layout to top7. Mapped top7a protection port. Added workaround to make top7a work. Promoted 'Cherry Master '99 (QL-1 V9B.00)', 'Jin Ji Bao Xi (Top-7, V8.8, set 1)' and clones Cherry Master '99 (QL-1 V9B.00, Cleco, Hand Count), Cherry Master '99 (QL-1 V9B.00, USA long PCB), Cherry Master '99 (QQ-1 V9B.00, bootleg), Cherry Master '99 (QQ-1 V9B.00, Cleco), Texas '99 (QL-1 V9B.00), Texas '99 (QL-1 V9B.00, Cleco, Hand Count), Texas '99 (QL-1 V9B.00, USA long PCB), Texas '99 (QQ-1 V9B.00, bootleg), Texas '99 (QQ-1 V9B.00, Cleco) and 'Jin Ji Bao Xi (Top-7, V8.8, set 2)' to working.
  . Improvements to clone 'Tetris + Cherry Master (+K, Canada Version, encrypted)': Decrypted the program ROM. implemented ROM banking. 4-bit shifter port for tile attribute process. Masked tilemaps per game through a port. Added a workaround to switch between games. Shared inputs between games. Promoted game to working.
- gstriker.cpp
  . Fixed interpretation of line table to use signed per-line and per-pixel steps. Fixes pitch in gstriker/vgoalsoc/twcup94. Debugging, mathletics and the explanation comment were assisted by Claude Fable 5.1 (vsystem\mb60553.cpp). Improved video priority. Fixed ADPCMB sound in V Goal Soccer.
  . Protection simulation for V Goal Soccer and Tecmo World Cup '94 and clones greatly improved pending MCU dumps. Protection reverse-engineering assisted by Claude Fable 5.1.
  . Disable wraparound on X axis, fixes gstriker logo drawing during attract (vsystem\mb60553.cpp).
- hng64.cpp
  . Implemented 8-point windowed sinc interpolation, as Akai advertises the chip to have. Improves sound detail quite a bit over the previous no interpolation (sound\l7a1045_l6028_dsp_a.cpp).
  . Hook up the network CPU properly so that games find out they're single player in a correct way. This makes Roads Edge and Xtreme Rally take much longer to start up (which is hardware-correct) but also fixes a host of minor glitches in those games. Fixes Roads Edge Trial mode, the Beginner track is always chosen regardless of your choice (ID 09556). Removed the camera hack and the polygon palette select hack in favor of using what appear to be the correct bits. Due to the extremely limited number of games the bit assignments aren't 100% trustworthy, but they work for what's dumped (snk\hng64_v.cpp). Stub implementation of the COM20020 ARCNet controller. Just enough to signal that no network is present. Claude Opus 5.5 assisted with debugging, COM20020 research and a final mame-review cleanup pass.
  . Disable the network CPU on non-racing games for performance purposes, as it's unused on those games.
- hy-268a.cpp and hy-9802.cpp: Fixed command decoder. With this wlfx does not hang anymore. Implemented DWT and DMOD, hy-9802.cpp and hy-268a.cpp show signs of life. Implemented GAI>3, do not bail out for hdw<3, updated drivers to follow that. Use clock() to calculate the frame_period. Debugging was assisted by Claude Opus 5.5 (video\hd63484.cpp).
- hyprduel.cpp: Fixed input name via usage and naming in test mode
- igs011.cpp, igs017.cpp, igspoker.cpp, jackie.cpp, pgm.cpp (pgmprot_orlegend.cpp) and spoker.cpp: Centralized IGS003 emulation and updated drivers accordingly. Assisted by Claude Opus 5.5 (igs\igs003.cpp).
- igs009.cpp: Got rid of ROM patches in favour of protection simulation. Claude Opus 5.5 was used to study the disassembly and find the solution. Verified jbell133i's PAL dump as bad.
- igs011.cpp
  . Emulated the per-game protection of clones lhb2cpgs, lhb3, nkishusp and tygn, and the three read ranges used by wlcc. Added a serial port stub for lhb3, nkishusp and tygn. The transmitted bytes are looped back, which passes the games' periodic echo check that used to end with SYSTEM ERROR. The relocatable IGS011 protection window now uses memory taps, leaving whatever is mapped underneath untouched (fixes the ROM test in nkishusp and tygn) (igs\igs011_video.cpp).
  . Mapped 64 KB of extra RAM for xymga, added the protection commands used only by its extra checks and marked the program ROM as a bad dump. Added the register write handler and the ROM overlay (igs\igs012.cpp). Removed commented-out ROM patches and unused debug read handlers. Assisted by Claude Opus 5.5.
- igs_m027.cpp: Attempted to improve IRQ mechanism, allowing extradrw and xyxcxysj to boot. Added inputs. Use GPT-6 Astra Extra High. Filled in DIP switches shown in test mode for xyxcxysj.
- igs_m036.cpp
  . Added IGS036 internal ROMs to cjbq, cjddzsp122cn, cjdh2, cjgdy, cjjl, dahuaxy, hlddz, huoqilin, hyleyuan, jhzb, jxry, lhfy, lhtb, lhzb3in1, lhzbgqb, mjzhizun, qhzb, slqzsp, sydh, xyddz, xydn and zjddz. Redumped huoqilin's program ROM. Dumped GFX ROMs for lhzbgqb. 2 wouldn't dump, but it seems they are the same between lhfy and lhzbgqb, despite different labels. Correct decryption table for xcjnh. Reversed by Claude Opus 5.5.
  . Allow all games with dumped 036 internal ROMs to boot, with mostly good graphics and sound. Removed tables provided by internal ROM now that internal ROMs are used. Begin to model the 036 SoC / peripheral implementation closer to the 027a. Moved more things into IGS036 device. Safter handling of save states for restoring encrypted/decrypted ROM/RAM condition.
- igspoker.cpp: Removed ROM patches in favour of proper protection emulation. Reversed by Claude Opus 5.5.
- iqblock.cpp: Got rid of RAM patches in favour of protection simulation. Claude Opus 5.5 reversed the protection routines.
- itech8.cpp: Identified likely trackball latch access and removed PORT_RESET. Disable additional logging by default (itech\itech8_v.cpp).
- itgambl3.cpp, menghong.cpp and sanremmg.cpp: Bugfixes to M16C disassembler found with an Apple PMU99 firmware binary. ADJNZ/SBJNZ weren't handling the imm4 field properly. ROT/SHA/SHL count is signed magnitude, not twos-complement. 32-bit register pairs were not printed correctly due to order-of-operations. BMCnd condition decoding was wrong. Long JCnd displacement is not signed. bit,base:16[SB] was not showing the bit number correctly. PUSHM register order was wrong. BNXOR was being called BXNOR. UND instruction was not decoded. dsp:16[An] / dsp:16[SB] were shown incorrectly. Grok 4.6 assisted verifying the divergences from the M16C Software manual (m16c\m16cdasm.cpp).
- jaguar.cpp
  . Implemented documented latch so the RISC CPUs don't see incomplete/corrupted data from the 68k & up the interleave. (MESS) Jaguar Doom is now fully playable. Debugging assisted by GPT-6 Astra (atari\jaguar.cpp).
  . Fixed two RISC instructions causing a blitter overrun in (MESS) Brett Hull NHL Hockey. MTOI and NORMI both forgot about the IEEE implicit one and MTOI didn't set the Z and N flags properly. Claude Fable 5.1 debugged this (cpu\jaguar\jaguar.cpp).
  . Lift endian bit 1 fatalerror. (MESS) sburnout boots now even without "swapping pixel organization" (cpu\jaguar\jaguar.cpp).
  . Misc fixes: Implemented pitch for 4bpp and 8bpp draws (dragon mask transitions in gameplay). Fixed index color masks for 4bpp (worms backgrounds). Get rid of vestigial bitmap_4_draw / bitmap_8_draw (atari\jagobj.ipp).
- karnov.cpp: Documentation updates. Correct some ROM labels for 64street, avspirit, phantasm and edf. Added in PCB locations as where missing for said sets. Updated a few comments. Changed comments in the ROM def area to C++-style. Added comment about interesting 64street set.
- konamigx.cpp and mystwarr.cpp
  . PSAC4 fake-voxel implementation for opengolf and racinfrc. GPT-6 Astra assisted with the reverse-engineering, math and analysis of direct-feed video from hardware.
  . Removed debug keys, fixes input assignments for Racin' Force. Fixed frame skipping. Added vblank note (sidenote: if it was update_before_vblank, this workaroud wouldn't work, since screen_update is called *before* vblank start handler) (konami\konamigx_v.cpp). Hookup shifter layout for Racin' Force.
  . Many updates: Support added for per-tile alpha and related hacks were removed. True additive blending is now done, the invert-alpha hack is gone. Shadow priority is now supported. This greatly improves clone gokuparo. Shadow layer selection is supported (the SHD ON register). Bug fixed that caused shadows to use the previous frame's data. Claude Opus 5.5 assisted with planning, debugging and automated regression testing. Manual testing against the 0.289 release was also done for every System GX game (konami\konamigx_v.cpp). Fixes fade in/out effect applied to the wrong layer in Fantastic Journey (ID 09164). Got rid of a lay of indirection on work bitmap (bitmaps are always dynamically allocated). Reduced literal tags in address maps (more kept creeping in) (konami\konamigx.cpp). Draw the type2 sprites from alternating banks. Fix a regression introduced by hooking up the ESC. These sets now write sprites to alternate banks, and were only updating every other frame. Assisted by Claude Opus 5.5 (konami\konamigx_v.cpp).
  . Update MysticWarr driver to unlock all the konamigx improvements. Correct a regression.
  . Fixed EEPROM saves for clones Gokujou Parodius blending and Golfing Greats 2 terrain. Address review of the IRQ latch and sprite blending (konami\konamigx.cpp)
  . Emulated the Konami 056734 (ESC) security chip. The chip runs its boot code, kernel and the games' uploaded programs from the game ROM, replacing the C simulations of those programs (generate_sprites, konamigx_esc_alert and the per-game *_esc handlers). Each set is configured with its chip's key, configuration nibble and instruction fetch scramble. Sexy Parodius: The program's overlays (stage 1 snow, particles) are drawn. Removed MACHINE_UNEMULATED_PROTECTION. The programs place sprites 0x14 (Daisu-Kiss, Twin Bee Yahhoo!) or 4 (Sexy Parodius) further right than the C did, so the Type 2 K055673 x offset is -46 for every set that used -26, -42 or -46. Salamander 2's program writes the sprite depth code at bit 6, not bit 9: removed salmndr2_sprite_callback. Dragoon Might and Lethal Enforcers II use the standard sprite callback; Dragoon Might's sprites take no mix code from attribute bits 9:8. Renumbered the gameDefs special cases. Reference: konami_056734_manual.md (rb6502/mame-ai-tips). Assisted by Claude Opus 5.5. Fixed subtract with a local memory operand not writing its result (k056734\k056734.cpp).
  . Fixed palette lookup for Gaiapolis ROZ layer. Corrects black squares during some cutscenes (konami\mystwarr_v.cpp). Fixed flip origin, which corrects linescroll glitches in Martial Champion and Metamorphic Force (konami\k054156_k054157_k056832.cpp).
  . Fixed Salamander 2 sprite order (K056734 sub) and stage 3 layer priority (K055555 COLPRI). COLPRI now splits layer A only (COLCHG ON bit 0, as Salamander 2 shows); layer B's bit is untested, so B is left as before. set_pen_split returns the layers it split, and the mixer keeps a single PRI 0 entry for the others (layer association off). Array references for its arguments, std::min<int> and util::make_bitmask. The K056734 change moves to its own PR (16815) (konami\k054156_k054157_k056832.cpp and konami\konamigx_v.cpp).
  . Sync to recent GX and MystWarr changes. Fixes layer masking in Moo Mesa's intro (ID 00755).
  . Promoted Racin' Force (ver EAC) and clone Racin' Force (ver UAB) to working
- konamim2.cpp
  . Respect the ICFI bit in HID0, fixes regressions in Konami M2 games. Finding the bug was assisted by Claude Opus 5 (powerpc\ppccom.cpp).
  . Enforce a device_start dependency (konami\3dom2.cpp)
- kpython2.cpp: Fixed uninitalized variables that were not possible to run into previously (sound\iopspu.cpp)
- lastfght.cpp, subsino_kr_h8.cpp and subsino2.cpp
  . Emulated the SS9804 and SS9904 sound ASICs. Thanks to Guru for running hardware tests and doing recordings. Aided by Antropic Fable 5.1 Max (subsino\ss9904.cpp).
  . Dumped H8 internal ROM for bigboss and clone dongshiz
- lazercmd.cpp: Lower DAC volume
- lgtz80.cpp: Derived a reel model which works properly for all games. Claude Opus 5.5 found the solution for the reels system.
- lindbergh.cpp: Added PIC16F648A variant and hook it up to Lindbergh (disabled for now)
- lvcards.cpp: Replaced AY8910 with YM2149
- mcr.cpp: Moved most public stuff to protected / private
- mediagx.cpp: Rewrote as new PCI device (machine\cx5510.cpp)
- megadriv_ybox.cpp: Improved protection simulation for xmvsfmb, songjang and shuifeng. All but cleanups done by Claude Opus 5.5.
- megaphx.cpp and littlerb.cpp
  . Hook up reset for PIC. This allows us to remove the PIC timer hack. Also improve boot rom switching: Fixes afterwar going into the weeds (misc\megaphx.cpp).
  . Replaced generic RAMDAC with BT478 device and hook up the mode switch. Gemini 4 Argon was used as a research and debugging tool (shared\inder_vid.cpp). Support fine horizontal scroll. Improves scrolling in afterwar (shared\inder_vid.cpp).
- megasys1.cpp: Hooked up dumped MCU for Peek-a-Boo!. Fixed hayaosi1 OKIM6295 clocks.
- micro3d.cpp: Make timers count in pulse width mode. Clear the timer control registers before reset reads them, and interrupt when an AER write ends a pulse. Fixed timer B reset bit and reset-time reads of uninitialised state. The TBCR reset bit tested TACR, so TBCR's reset bit never cleared TBO and a set TACR reset bit cleared TBO on every TBCR write. Don't clear the timer input latches on reset: the input lines don't change, so an input held active across a reset was seen as inactive until its next edge. Initialise them in the constructor instead. Initialise GPIP and DDR in the constructor, so the GPIP write in device_reset() doesn't read DDR before it is set (machine\mc68901.cpp).
- model1.cpp: Skip objects with out-of-range color or polygon addresses. Accept the last color entry and make two locals const. Size polygon RAM to the presumed 32K x 32-bit SRAM (GitHub #16892; sega\model1_v.cpp).
- model2.cpp
  . i960 fixes: SUBC had the borrow inverted, this affected Speed Racer's 64-bit multtiply/divide subroutines. MOVRE was stomping past the destination register; this trashed m_SAT in Dead or Alive. The priority wasn't being adjusted properly when taking an IRQ. MODI's sign test was overflowing and giving wrong results frequently in Speed Racer. Core audit and disassembbly to determine which games were affected by which bugs assisted by Claude Fable 5.1 (i960\i960.cpp).
  . Don't mirror MADRS at 0x7c0-0x7ff, fixes corrupted and then silent sound in Dead or Alive (sound\scsp.cpp).
  . Mirror the Rail Chase 2 sample ROMs, fixing missing sound effects. The 16 Mbit sample ROMs sit in the 32 Mbit positions (IC32, IC34), where A21 is not decoded, so each ROM is also visible in the upper half of its slot. The sound program streams some effects from there (e.g. the title screen animation at 0xa1e97c), which played silence with the upper halves empty (ID 09393). Fixed rchase2 sound ROM mirroring properly. Thanks to ClawGrip for verifying the ROMs were actually correct and the hint was "A21" implemented badly (2097152 / 0x200000). Fixed Rail Chase 2 samples ROM location.
  . Mask polygon ROM test addresses before reading. Drive SHARC FLAG1 from output FIFO fullness. Halt SHARC while uploading its program.
  . Implemented Last Bronx environment-coordinate commands. Promoted 'Last Bronx (Export, Revision A)' and clones 'Last Bronx (USA, Revision A)' and 'Last Bronx: Tokyo Bangaichi (Japan, Revision A)' to working.
  . Fixed some endianness issues, cleaned up code. Correct width/endianness for polygon and texture ROM. Replaced pointers with references, made stuff const. Slightly optimised some code.
  . Set a rounding mode for the SHARC and TGPx4 DRCs. Resolves weird behavior on x64 systems. Debugging assisted by Claude Fable 5.1. Fixes coprocessor error on bootup in fvipers, fvipersb, schamp and sfight (mb86235\mb86235drc.cpp and sharc\sharcdrc.cpp). Fixed x64 DRC cache hazard (found by mame-review 1.1.2) (mb86235\mb86235drc.cpp).
- model3.cpp
  . Mask texture coordinates in get_texture(). Fixes crash due to out-of-bounds read (sega\model3_v.cpp). Fixed and modernize sound banking. Avoid the need to mirror in oversized sample ROM regions.
  . Redumped bad IC17 ROM for 'Virtua Striker 2 '98 (Step 2.0)'. Use full division for FRECIP like x64 and C do. Fixes the camera having a seizure in some Model 3 games. Debugging was assisted by GPT-6 Astra (cpu\drcbearm64.cpp).
  . Modernized to use new PCI and NSCSI. Removed the driver-local bridge emulation in favour of MPC105/MPC106 hosts, with the 53C810 handling Step 1.x memory moves. Real3D is now a PCI function, Step 2 DMA is a PCI card, and Daytona 2s ROM board is a PCI device. Texture uploads are decoded by a renderer adapter and CROM banking uses a memory bank.
  . New NCR 53C8xx SCRIPTS core on NSCSI, with the 53C810 as its first variant. Replaces machine/53c810.cpp, which is removed. Could also be used with modifications for 53C720 and 53C770. New NCR53C810 PCI emulation (pci\ncr53c810.cpp). Split the MPC106 into a shared MPC10x host bridge core with MPC105 and MPC106 variants. The MPC105 adds Map A/B decoding, discontiguous I/O mode, CF_MP_ID, PICR2 and MCCR1-4 with MEMGO. It also supports little-endian address unmunging and a second CPU (machine\mpc105.cpp).
  . Use write taps to snoop RAM writes if 2 or more processors are present. Tested with BeOS 3 and 4 on the BeBox (machine\mpc10x.cpp).
- ms32.cpp
  . Emulate F-1 Super Battle math coprocessors and road layer (GitHub #16135): Sprite/Eoad priority mixing. Rroad planes, backdrop layers and scroll timing. Text layer timing and minimap sprites. Priority RAM mixing, coprocessor LT condition. Road planes as single layers with line depth (jalfpu\jalfpu.cpp). Make F-1 Super Battle line colour tables local to the mixer. Avoid left shifts of negative values in F-1 Super Battle line planes (jaleco\ms32_v.cpp). Shorter class name for f1superb. Co-authored by Claude Opus 5. Promoted game to working.
  . Implemented the priority ram sprite for all games and adjust some effects. priram-based mixer with brightness bank selection. Sprite coverage second pass for priram effects. Added brightness bank support to f1superb mixer. Brightness bank selection and shadow/glow system. Shadow only affects non-sprite layers. Clarify brightness and shadow comments. Hook up NVRAM persistence for battery-backed SRAM. Fixed ROZ wrapping, shadow and brightness effects. Removed MACHINE_IMPERFECT_GRAPHICS from all games. Fixed address priority review feedback. Correct coverage priority extraction. Fixed gate coverage effects on sprite selection. Removed sprite coverage effects pass (jaleco\ms32.cpp). Moved brightness members to data section (jaleco\ms32.h). Use rectangle accessors instead of data members. Added const to sprite buffer pointers (jaleco\ms32_v.cpp). Co-authored by Claude Opus 5.5. Fixes brightness control issues (ID 03524), remaining layer (ID 03523) and priority/shadow problems (ID 03522).
- multfish.cpp: Decrypted GFX and palette for the crzmon2 sets and rollfr_5. Everything but preinitialized NVRAM was done by Claude Opus 5.5
- namcond1.cpp: Fixed scroll + Updates. Use callback for gfx ROM bankswitch. Fixed row/column scroll, for either ROZ and non-ROZ, with/without raster IRQ. Fixed side effects for debugger reads, code style, documents and save state support. Make some variables constant. Reduced duplicates and preprocessor macros. Use short types for consistency. Cursor Grok 4.6 and Claude Opus 5 for analysis and co-write draw routine (namco\ygv608.cpp).
- namcos1.cpp: Use input_merger for watchdog and callback (namco\namcos1.cpp and namco\c117.cpp). Fixed possible crash.
- namcos2.cpp: Fixed sprite zoom algorithm. Use scalelut region for zoom y calculation. Hardware is evolution of Pole Position hardware (namco\polepos.c), so I copied and modified for namcos2 sprite hardware (namco\namcos2_sprite.cpp). Differences: Padding/"Ignored" bytes: 0x80 (polepos) vs 0xff (namcos2_sprite). namcos2_sprite has vertical flip feature, scale LUT region accessed to top half when flipped. Scale LUT is twice as large for handle vertical flip in namcos2_sprite. scalelut is from Ordyne, when not dumped from hardware (should be dumped from these hardwares?). Analysis assisted with Cursor Grok 4.6 (namco\namcos2.cpp and namco\namcos2_sprite.cpp).
- namcos10.cpp: Decrypted three more games. Decrypted 'Knock Down 2001', 'Slot no Oujisama / Slot Prince' and 'Gegege no Kitaro Yokai Yokocho Matsuri de Battle Ja' games. GPT-5.6-SOL model used to build tool implementing known plaintext attack on encryption (namco\namcos10.cpp). Prevent out-of-bounds accesses to initialisation vector arrays.
- namcos22.cpp
  . Removed some redundant m_poly->wait() calls in screen_update. Replaced render_triangle_fan usages with render_polygon & render_triangle. Use render_polygon rather than render_triangle_fan for rendering clipped quads (namco\namcos22_v.cpp).
  . Clip extents before calculating its parameters (video\poly.h). Fixed lighting when using shared normals. Use double instead of float for extent params in render callbacks (namco\namcos22_v.cpp).
  . Increase quantum for non-super 22. Ace Driver and Ace Driver: Victory Lap video test writes 1 to DSP RAM to trigger drawing but then clears it back to 0 after 616 cycles; needs quantum frequency at least 40 kHz to ensure the master DSP can read it in time (namco\namcos22.cpp).
  . ss22 uses per-poly fog (GitHub #16224) (namco\namcos22_v.cpp). SS22 video PCB uses C397, not C387 (verified by Guru). Also revision A has four each of C400 and C401, same as later revisions.
  . Added additional developer inputs (fine-increment/decrement and freeze-toggle) for Armadillo Racing
  . No need for code 5 special case in blit_polyobject (namco\namcos22_v.cpp). Expose developer pad connectors as SFC controller slots, replacing custom dev input configs. Interleave point ROMs when loading.
  . VICS copies data to sprite chip during vblank (namco\namcos22_v.cpp). Changed m_spriteram and m_vics_data to 16-bit. Split sprite attributes into m_attributeram. Removed excluded code blocks that print sprite/VICS registers; we can just use the debugger to view these. Put vics memory in namcos22s_state (namco\namcos22.cpp).
- namcos23.cpp
  . Bug fixes: Made save states complete, including the command list. Sign-extend the coordinates of immediate models the same way as ROM models. Fixes Gunmen Wars title screen. Respect the identity matrix bit in command 0x012c, fixes missing player models in Gunmen Wars.
  . Interpret normals as signed 10 bit integers, fixes overly-dark lighting in Time Crisis II character models among others. GPT-6 Astra assisted with all of this debugging.
  . Further lighting adjustments and apply the gamma ramp uploaded by the game. Expose developer pad connectors as SFC controller slots, replacing custom dev input configs.
- neoprint.cpp: Simulated printer handshake to let attract run without patches. Still needs real printer emulation for having actual printing succeed. Cloude Opus 5.5 implentation.
- nexus3d.cpp: Misc notes. Fixed issue with bad frames of graphics while loading "The renderer discarded memory-bank address bits, incorrectly merging framebuffer and texture memory. Texture uploads during loading could therefore overwrite the displayed image. The fix preserves those addresses". Use the poly_manager better for faster performance. Claude Opus 5.5 determined the best outcome from mashing up the two nexus3d drivers and regression tested the result. Added supports save flag. Promoted Arcana Heart/Arcana Heart Full to working.
- nmk16.cpp
  . Sound Z80 at 12 MHz/2 = 6 MHz for macross2 and tdragon2. Take background RAM page from the tile bank latch for macross2 and tdragon2. Based on traced schematic of the macross2/tdragon2 board drawn by Hammy. Correct Mhz to MHz in comments, added digit grouping to large numbers, put unit mask with the addressing in address maps.
  . Mustang scroll register, BG bank and TX RAM per the UPL 90058 PCB. Changes derived from a traced schematic of the UPL 90058 (US AAF Mustang) board (schematic drawn by Hammy) plus the Lettering bootleg's own code: mustang_scroll_w: The board latches only D8-D9 as the register index. Index 0 is X bits 11-8 (only D0-D3 are latched; the BG is 4096 pixels wide), index 1 is X bits 7-0, index 3 is an 8-bit Y scroll into the vertical adders, and index 2 D0 reaches Y bit 8 only through jumper JP-A12, whose standard setting is GND. Every Mustang-family set writes index 3 = 0, so no set's output changes. mustang_map: the scroll register answers anywhere in 0x08c000-0x08ffff (nothing below A14 is decoded), replacing the 0x08c002-0x08c087 nopw; TX RAM is 2 x 6116 with A10 = CPU A11 (4 KB at 0x09c000-0x09cfff, mirrored to 0x09ffff); 0x080018 D0 is latched to the BG ROM's A19 (a no-op with the stock 4 Mbit ROM, which mirrors). mustangb3: its IRQ4 handler writes the whole X scroll once per frame as 0x9000 | X (0x62a-0x642). These were dropped, so the BG never scrolled. Inferred from the code, not from a traced board.
- novadesitec_fr004.cpp and novadesitec_fr009.cpp: Identify sets. Assisted by Claude Opus 5.5 for decoding the gfx.
- nss.cpp, sfcbox.cpp, snesb.cpp and snesb51.cpp
  . Fixed HIRQ enable behavior. Fixes flickering in (MESS) Doom and freeze in Mortal Kombat II. Debugging assisted by Claude Opus 5.5 (nintendo\snes.h and nintendo\snes_m.cpp).
  . Restore emulation-mode execution tables after loading state (g65816\g65816.cpp). Relicense to BSD-3, hookup LLM generated charset and cleanup a bit. Claude Opus 5.5 used for the charset generation from PDF datasheet (video\mb90082.cpp).
- pgm.cpp
  . Improved ICS2115 register 0x10 implementation. Minor revert volume envelope behaviour (previous improvement retains to comment) (sound\ics2115.cpp). Fixes kov and kovplus speech cuts out at the title screen (ID 09541).
  . Updated based on FPGA core learnings. ICS2115 format selection. IRQ4/6 enable/disable and acknowledge behavior. Sprite DMA timing and enable behavior (sound\ics2115.cpp, igs\igs023_video.cpp and igs\pgm.cpp).
  . Added the register write handler and the ROM overlay (igs\igs012.cpp). Hooked up the IGS012 ROM overlay for Dragon World II and removed its ROM patches (igs\pgmprot_igs025_igs012.cpp).
- pgm3.cpp: PGM3 ARM7/ARM7v6 improvements. Added hantro_g1 and mali200 video devices. Address PR feedback. Added remaining PGM3 specific parts needed to complete emulation. Fixed frame order during video playback with openh264 library (video/hantro_g1.cpp).
- pinkiri8.cpp: Improved video emulation
- polepos.cpp: Added clock on POLEPOS_SOUND for bootlegs. Fixed missing engine sounds.
- policetr.cpp: Updated comments. Use machine configuration functions rather than crazy class hierarchy to set speedup hack parameters.
- popobear.cpp: Added NVRAM to magkengo and qiwang
- pspikes.cpp: Fixed screen flip for Turbo Force and clone Aero Fighters (Taiwan / Japan, set 1). Replaced the hand-tuned flip constants with values measured from the games themselves. The vsystem_spr2 mirror constants (previously hardcoded 308/208, only correct for clone Aero Fighters (Taiwan / Japan, set 1)) become per-game configuration, and the mirror is now zoom-aware. Write all 512 rowscroll entries instead of 256 so the mirrored row indexes read by a flipped tilemap are initialized. Co-Authored by Claude Opus 5.
- raizing_batrider.cpp: Fixed sprite delay (ref. https://youtu.be/RZKrQ7vSqRs)
- rastersp.cpp: Fixed endianness issues on screen update (good example of why the *_XOR_(BE|LE) are confusing to use)
- redalert.cpp
  . Combine bitmap palette resistor weights (irem\redalert_v.cpp). Colour bits need to be inverted. Also use palette device to allow viewing decoded colour PROMs, don't decode PROMs on every screen update, and cleaned up PROM decoding and screen update code a little (irem\redalert_v.cpp).
  . Correct Demoneye-X bitmap placement. Removed the extra width offset from the Demoneye-X bitmap layer and retain its eight-column tile RAM stride. Clip rows and columns before drawing. Use the same row and pixel loop shape in Red Alert and Panther, preserving each callback's flip polarity and palette indices (irem\redalert_v.cpp).
- royalpkr.cpp: Improved IRQ handling. Added ACRTC maps for the high and medium resolution. Preliminary inputs from research of the dumper. IRQs handling improvements and palette hook-up for low and medium res games and config/serial reversal (where not documented by the dumper) done with assistance of Claude Opus 5 (tabaustria\royalpkr.cpp and video\hd63484.cpp).
- sealy_z80.cpp
  . Decrypted games and fleshed out the driver. Games are working, but left as not working as they need input testing. Assisted by GPT-6 Astra Ultra.
  . Dumped program ROM for Jin Zuanshi
- seattle.cpp: Initialize register file and timer state at reset. Fixes intermittent failure to boot on some Atari games (machine\gt64xxx.cpp).
- segas32.cpp
  . Added per line clipping for titlef, jpark and ga2. Fixes per line clipping (spotlight) issue in ga2, ga2u and ga2j (ID 05233).
  . Fixed X-flipped sprites repeating across the line (sega\segas32_v.cpp). Fixed priorities for dbzvrvs and f1lap (sega\segas32_v.cpp) (ID 06100).
- segasp.cpp: Dumped PIC16C621A microcontroller for 100&Medal Kazaaan!! and (PIC16F628A) for Arabian Jewel
- silverball.cpp: Preliminary emulation of the Aladdin Hardlock parallel port dongle with the "Luna" ASIC. Recovered the Silverball Hardlock keys for these games and hooked up the dongle. Dongle analysis and debugging assisted by GPT-6 Astra. Initial bindings for the I/O Controller. Added release years, hookup more PCI slots and heuristic notes.
- sis630.cpp: Hookup software lists
- snesb51.cpp
  . Implemented MCU interface. Added missing read back for T0/T1 lines for port 3 (mcs51\i8051.cpp). GPT-6.1-Sol was used as a research and development tool. Mix overlay with a single screen. Overlay color support. Also reset the PPU when switching cartridges.
  . Promoted Killer Instinct (SNES bootleg with overlay), Mortal Kombat 3 (SNES bootleg with overlay) and SNES 4 Slot arcade switcher (NBA Jam) to working. Sort coinage options from least generous to most generous.
- splash.cpp
  . Made 'Ring & Ball (Italy, Ver. 2.6)' run. Claude Opus 5.0 identified the unusual split supervisor mode/user mode code encryption method.
  . Emulated Rebus opcode decryption and hooked up sound. Implemented XOR/scramble for opcodes fetched in user mode for Rebus and removed ROM patches. Hooked up the YM3812 and MSM5205 sound chips, Z8 NMI and sample ROM banking. Added Rebus-specific screen update function, inputs and outputs. Implemented the protection chip's heatbeat byte for Funny Strip/Puck People and removed the program counter checks. Promoted Rebus to working. Assisted by Claude Opus 5.5.
- spoker.cpp: Decrypted GFX for xjinhuang and jinhuang2. Reversed by Claude Fable 5.2.
- stella8085.cpp: Don't instantiate devices that don't exist. That shouldn't have been merged in the first place.
- stv.cpp
  . Sega Saturn DCC
    . Moved DCC dual CPU comms to an own device. Make it handle slave irq vectoring. Recitify slave irqs a bit. Fixes colmns97 and wwshin sound going screwy (ID 04187) (sega\saturn_dcc.cpp).
    . Bump up base divider interleaving. Fixes sandr and clones hangs during 2nd gameplay attract demo (music continues) (ID 09516) (sega\saturn_dcc.h).
  . Sega Saturn SMPC
    . Make CKCHG320/CKCHG352 slower. Fixed vblank-in generation at 240 with VRES=0. Trying to enable a CPU that is already enabled resolve in a NOP. Partially fixes (MESS) gnine97/gnine98 (sega\smpc.cpp).
    . Reset a bunch of things with dotsel command triggered. Delay a bit consecutive CPU enable/disable NOP commands. Allows (MESS) 3dbball* to be bootable again (sega\smpc.cpp).
    . SMPC was halting the master SH-2 immediately; there should be a few cycle delay (sega\smpc.cpp).
  . Sega Saturn System Control Unit
    . Convert interrupts to IRQ_CALLBACK_MEMBER. Rewrote timer 0/1 logic. Cleanup, use enums for interrupt sources and DMA operating modes. Initial implementation of a DMA orchestrator (fixes diehard and dnmtdeka have no sound - GitHub #15769) (sega\saturn_scu.cpp).
    . Operational changes: Treat DMA direct mode as burst, indirect as cycle steal. Gain back a bit of performance by setting DTACK changes at DMA starts and stops only. Set a flag on DMA buses origins, disallow same bus transfers. Groundwork for setting cycle penalties. Fixed pfght regression using DMA as fill. Attempt to fix irq status non-dword writes ((MESS) burningr*, no noticeable change) (sega\saturn_scu.cpp).
    . Added a more consistent delay between DMA wait and move ops. Fixes regressions in danchih, danchiq and (MESS) avg and dejig* (sega\saturn_scu.cpp) (ID 06270). Fixed in-flight DMA check (sega\saturn_scu.cpp).
  . Sega SCUDSP
    . Rewrote DMA to use a timer and removed instant hack. Make sure to honor C-Bus transfer fixed adds rule with DMA. Fixes (MESS) mshvssf bad colors in main menu and gameplay (scudsp\scudsp.cpp).
    . Refine some DMA loose ends: C-Bus DMA reads actually can be either 0 or 4. B-Bus DMA reads are hardwired to +4. DMA CTx pointers actually increments on every transfer (scudsp\scudsp.cpp).
    . Fixed ALU output for NOP. DSPs are weird. Update the multiplier when anything changes RX. Fixes T&L calculations in (MESS) vkyoute2 (scudsp\scudsp.cpp)
  . Sega Saturn VDP1
    . Avoid using vertical cell scroll with linezoom for now, avoid 'Batman Forever' The Riddler stage going 0% emulation speed (ID 07203) (sega\saturn.cpp).
    . Make sure sonicjamj (hash\saturn.xml) doesn't fail SCU DMAs to VDP2 back-to-backs for now (sega\saturn_scu.cpp and sega\saturn.cpp).
    . Fixed sprite window in interlaced mode. Fixes (MESS) amoudan GFXs in main menu and gameplay. Implemented VDP2 4bpp bitmap with zoom mode (sega\saturn.cpp).
    . Don't do sprite window if type is invalid. Fixes several empty dot cases and (MESS) saturnjp [kof96, kof97, samsho4]: VDP1 transparency issue with several games (ID 07508) (sega\saturn.cpp).
    . Fixed VDP1 GFX alignment with flipy + clip y. Fixes (MESS) draculax inverted castle map plus some enemies glitching out when on top of screen (sega\saturn.cpp).
    . Added poorly documented VDP1 drawing trigger behavior required by (MESS) Doom and Exhumed. Properly invalidate the RBG0 cache. Fixes missing water in (MESS) vkyoute2 (sega\saturn.cpp).
    . Fixed two VDP1 corner cases that games using Sega Graphics Library hit (e.g. madden97u). Debugging assistance by Claude Fable 5.1 (sega\saturn.cpp).
  . Sega Saturn VDP2: Moved CRTC logic in a new VDP2 device. Make it generate blank signals. Fixes saturneu [test1f] debug assertion (ID 05855) (sega\saturn_vdp2.cpp).
  . Sega Saturn/ST-V CD Block HLE
    . Fixed regression with CD auto boots. Fixes (MESS) saturnjp [azelpanztai]: Special Function Code Select enable 0004 0000, contact MAMEdev (ID 04951). Reset pending playback parameters when issuing a disc seek command. Added logging for disc status changes. Yield commands until status changes are performed. Make it play along with seek rules. Fixes (MESS) jungrhyt crashing when repeating a stage (sega\saturn_cd_hle.cpp).
    . 0x61 and 0x63 commands needs to calculate proper sectofs/sectnum before checking for a possible rejection. Fixes (MESS) shadtusk crash at startup (sega\saturn_cd_hle.cpp).
    . Improved reset selector semantics (sega\saturn_cd_hle.cpp).
    . Better handling of no disc cases: Fixed regression where tray open/close will just hang the emulated machine. Make it play along with the recently added status changes. Reset tray status only during power-on not device_reset. Fixed #15884 (sega\saturn_cd_hle.cpp).
    . Execute command even if CD isn't inserted and fixed modem status readback regression. Read ADR in TOC properly. Fixed curfad filter rejection range (sega\saturn_cd_hle.cpp).
    . Read ADR in TOC properly. Fixed curfad filter rejection range. Read TOC sets DTREQ only, doesn't change drive status. Fixes (MESS) hisspach boot (sega\saturn_cd_hle.cpp).
    . Improved redbook track resume and restart. Avoid (MESS) dendego crash on title screen, make Multiplayer Audio CD playback a bit more solid. Make repeat to honor seek phase and fixed redbook range. Fixed repeat assertion failure. Removed dubious handling of get status command. Implemented Move Sector Data command. Start splitting rejections with wait conditions (sega\saturn_cd_hle.cpp).
  . Hitachi SH-2 (SH7604): Implemented standby mode that SLEEP kicks the SH-2 into and fixed a bug with FRT capture (sh\sh2.cpp and sh\sh7604.cpp). Fixed SH7604 on-chip divider corner cases (sh\sh7604.cpp).
  . Start converting IOGA to use 315-5649. Hook it up to standard stvbios. Hopper, critcrsh and mahjong panel variants TBD. Hookup inputs for fanzonem and wwshin. Removed magzun boot patches. Demoted wasafari to MACHINE_NOT_WORKING (no way to rotate crank input in-game). BREAKING CHANGE: magzun now just black screen out of removing said hacks.
  . Make stvbios to use a 6 button input def. Added a dump cart header debug facility. Cart empty space 1-fills, fixes a bunch of IC13s still failing ROM test along the way (sega\stv.cpp).
  . Demoted 'Virtual Mahjong 2 - My Fair Lady (J 980608 V1.000)' to MACHINE_NOT_WORKING. Note: Don't think it ever worked, has random sync problems with SH-2 reading sound RAM.
  . Promoted colmns97, danchih and danchiq to working. Cleaned up various Saturn code and made relationship between headers, sources and classes less confusing.
- system1.cpp: Added debugger side effect check
- system16.cpp: Emulated Beauty Block / IQ Pipe protection (Reverse engineering by Claude Opus 5). Fixed gfx in Beauty Block & IQ Pipe. Added dipswitches to Beauty Block and IQ Pipe. Promoted games to working.
- taito_l.cpp and tnzs.cpp: Lower cpu quantum a bit
- taitogn.cpp and zn.cpp
  . ZOOM ZSG-2: Narrow the current-volume readback to 13 bits. Fixes a problem where 'Shikigami no Shiro' sound test 05 steals voices during the intro. The Taito G-NET Zoom sound driver polls channel register 0xb every tick and stores (value >> 7) into a per-channel byte whose bits 6 and 7 are "held" and "priority" flags used by its voice stealer. Returning the full 16-bit ramped volume set the priority flag for every note with a volume of 0x4000 or more, and once no lower key cleared it again the stealer preferred cutting audible notes over reusing silent channels. Claude Fable 5.1 disassembled the sound driver (sound\zsg2.cpp).
  . Use logmacro.h (machine\rf5c296.cpp)
- taitojc.cpp
  . Preliminary support for FPU exceptions (primarily for FDIV and friends). Fixes the train not moving in Densha de GO! attract. Issue was traced to an uninitialized variable in the actual game (causing a divide by zero and then NaN poisoning) by GPT-6 Astra (m68000/m68k_in.lst, m68kcpu.cpp, m68kfpu.cpp). Added widescreen analog dashboard and pressure output to artwork (layout\dendego.lay).
  . Dangeous Curves uploads the internal DSP ROM routines it uses. Patch the DSP program to call them. Implemented set/clear carry and SBBB, used by Dangerous Curves. Promoted Dangerous Curves (Ver 2.9 O) and clone (Ver 2.2 J) to working. DSP reverse-engineering and patch debugging assisted by GPT-6.2 Astra.
  . Fixed multiple errors in the HLE renderer's intersection operation that were causing cracks between polygons (sky showing through the road, etc). Debugging assisted by GPT-6.2 Astra.
- tourvis.cpp: Emulated the hardware the BIOS drives, worked out by disassembling BIOS 6.0 and cross-checking with system11's articles (https://blog.system11.org/?p=1785, ?p=1943, ?p=2918, ?p=2960): Four cartridge slots (-cart1 to -cart4). The 8155 selects one, and the game ID comes from the software list "id" feature (read at $f000). Control lockouts and the buttons the BIOS presses on the PC Engine joypads, with two players handled like a multitap. Also PC Engine reset, audio mute and coin counters. Play time, per-slot score counters and selection lamps, decoded from the 8155 port C serial lines, plus a marquee layout. Coin inputs are active low. The play time DIP settings were reversed. New DIPs (score/bonus time, slot on power up, exhibition mode) and new inputs (bookkeeping, clear time, RAM clear). New tourvisv1 clone for the V1 board (BIOS VT-1.1/VT-2.0, moved out of tourvis), which uses different I/O. Tourvis is promoted to working. All nine V4 BIOS versions start games. Unemulated: the power-fail TRAP (needed to keep the battery-backed RAM) and the watchdog. The 8155 timer clock is deduced from the BIOS timing, which counts 100 ticks per second. tourvisv1 stays not working: its control lockout and Run press are deduced from the BIOS, and some inputs are unknown. Software list: the five items with an unknown game ID are marked supported="no", because the V4 BIOS can't start them. Two ID values were normalised (same values). Default changes: Demo Sounds On and Score On (all switches off). Tested by running each of the 56 software list items: 51 start straight into gameplay. Terra Cresta II and Power Tennis need an extra Start press, because the BIOS data for their IDs doesn't skip their menus. The three unknown-ID items I have stay on the title screen. Also tested: 2-player simultaneous games (Formation Soccer), the score/bonus time, bookkeeping, clear time and exhibition mode, and the V1 timeout pause. Assisted by Claude Opus 5.5 (BIOS disassembly analysis, code and testing).
- vamphalf.cpp and f-32.cpp
  . Fixed SETADR carry going into bit 0 instead of bit 9 (e132xs\e132xsdrc_ops.hxx). Fixes task switching in Mr. Kicker and Yori Jori Kuk Kuk. Fixes sound test in 'Cool Minigame Collection' crashes (emulated system stops responding) when moving part stage 4 BGM (ID 09371). Promoted Mr. Kicker (SEMICOM-003b PCB), Yori Jori Kuk Kuk and Royal Poker 2 (Network version 3.12) to working.
  . Correct Boong-Ga Boong-Ga photosensor input polarity
- vgame.cpp: Research on CPU type and encryption (does not appear to be IGS027A related, probably AT91SAM7SE256) (GitHub #16841).
- vectrex.cpp: Fixed regression caused by vector list overflowing (miltonbradley\vectrex_v.cpp)
- viper.cpp
  . Read the ADC0838 in differential mode. The low nibble of the I2C address is the ADC0838 multiplexer word. In differential mode ODD/SIGN selects the polarity of the channel pair. Co-Authored by Claude Opus 5.5 (konami\viper.cpp).
  . Use the full ADC range for the pedals and handbrake of the driving games. The games read the pedals from the ADC0838 in differential mode, like the steering wheel, and rebuild the position as 0x100 + first - second. The 8-bit pedal ports only gave positive differences, so a pedal went from MIN (0x001) to the middle of the range (0x100): in I/O CHECK it stopped half-way along the bar when fully pressed. The pedals and the handbrake of thrild2, gticlub2, xtrial and code1d now use a signed 9-bit port like the steering wheel, from MIN at rest to MAX when fully pressed. The key delta is doubled so the keyboard takes the same time as before to press them fully. Co-Authored by Claude Opus 5.5 (konami\viper.cpp).
  . Added static rasterizers for the Konami Viper racing games. None of the Viper games had entries in the predefined rasterizer table, so every pixel of Thrill Drive 2 and GTI Club 2 went through the generic rasterizer. The 57 entries cover about 85% of the pixels drawn in attract mode and in races on every course. Rendered frames are unchanged. Co-Authored by Claude Opus 5.5 (video\voodoo_render.cpp).
  . Implemented screen-to-screen blits. Thrill Drive 2 uses this for motion blur post-processing. Co-Authored by Claude Opus 5.5 (video\voodoo_banshee.cpp). Added the two main rasterizers of the Thrill Drive 2 Europe attract demo. They appear later in attract mode than the first 90 seconds and draw about 5% of the pixels each over 400 seconds of attract mode. Co-Authored by Claude Opus 5.5 (video\voodoo_render.cpp).
  . Rewrote driver to use new PCI device
- vp101.cpp and vp50.cpp
  . Added a preliminary renderer, NVRAM, gun and button I/O and preliminary sound. jnero is pretty playable but has some graphics issues. specfrce has much worse graphics issues.
  . Split off now-functional driver with framebuffer, sound and I/O. Rhythm Nation probably can be marked working, but needs more testing (ice\vp50.cpp).
- wgp.cpp: Properly interpret per-sprite scaling and rotation and added the full-framebuffer rotation. GPT-6 Astra assisted with reverse-engineering the math and parameters.
- wheelfir.cpp: Rewrote the video emulation based on the games' use of the hardware. The blitter zoom can be implemented using counters. Correct blitter and video line interrupts. Correct inputs and added option to select joystick or wheel and pedals. Added gear shift overlay view. Promoted 'Kong Ball (prototype)', 'Power Ball (prototype)' and 'Wheels & Fire' to working.
- Xingyun Paomadi Super: Added preliminary Novatek NT3580 6502-base sound controller emulation and preliminary Novatek NT3570F 16-voice sample player emulation. Don't use PORT_PLAYER on things that don't support multiple players.
- y2.cpp
  . Added rendering, sound, inputs (except mahjong inputs for higurashi) and everything else. GPT-6 Astra broke the encryption. Peter was assisted by Claude Opus 5.5 and I also used it for a cleanup/refactor pass. The mahjong game has been tagged as imperfect controls due to mahjong panel not being emulated, but it defaults to joystick.
  . Promoted 'Higurashi no Naku Koro ni Jong', 'The King of Fighters - Fuchou Zhi Lu' and clone to working.
- 1942: Replaced a bitrotten rom in clone 1942 (bootleg on Vulgus hardware) with the one from 1942a. Added sprite drawing to the bootleg. Promoted game to working. Assisted by Claude Opus 5.5.
- 39 in 1 MAME bootleg
  . Correct or added decryption for all sets and redid the CPLD protections using correct math. Claude Opus 5 assisted with the decryption, reverse-engineering of the CPLD protections and portions of the explanatory comments.
  . Promoted clones 4 in 1 MAME bootleg (PLZ-V001), 4 in 1 MAME bootleg (ver 3.00, PLZ-V014), 48 in 1 MAME bootleg (ver 3.09, HPH-V000, alt flash) and 60 in 1 MAME bootleg (ver 3.00, ICD-V000) to working.
  . Redumped bad 19-in-1 flash, game now runs.
- AGEMAME
  . Removed fake 4k tables from quiz games, figure out likely PAL equations that give the same results, apply logic to some games where the questions didn't descramble before (mpu4empire.cpp, mpu4misc.cpp, mpu4mod2sw.cpp and mpu4vid.cpp ). Use BIT helper to extract bits (barcrest\mpu4vid.cpp). More read side effect checks (barcrest\mpu4_characteriser_pal.cpp).
  . mpu12wbk.cpp improvements: Reversed the IC4 empty socket function. Explained the optional printer/ticket module. Documented the above functions plus the bankswitching port. Updated the games/descriptions list.
- Amidar: Clone Amidar (Cirsa bootleg) just needed 2k of RAM. Once up and running, the inputs were set up correctly. Promoted game to working. Assisted by Claude Opus 5.5 Max. Also fixed 'Lives' dipswitch in clone Amidar (bootleg, set 1).
- Apache 3, Big Fight, Cycle Warriors and Round Up 5
  . Apache 3 + tatsumi\tzbx15_sprites.cpp: Draw the ground and sky and emulated sprite rotation and line repeat: Draw the ground and sky in Apache 3. The 12 words the 68000 writes to the TZ2213s each frame (0x8e06) are three 24-bit accumulators with 8 fractional bits, stepped per pixel and per line by the cos/sin of the bank angle: Horizontal position, sky colour and distance below the horizon. The latter picks a row of the 512x256 2bpp ground pattern RAM, mirrored about its centre, plus the per-row horizontal offset the Z80 writes (12-bit, stored truncated to 8 bits before), the side picking one of two colour sets (the snow stage uses it for the river). Depth stripes come from the 1/z PROM plus the forward scroll register. Replaces the disabled experimental draw_ground and the fixed gradient sky. Emulate sprite rotation in the TZB215/TZB315 sprite code. The rotation value in sprite word 5 is a signed 9-bit slope (0x100 = 1.0), not an angle: The chip maps the drawn (flipped) sprite through [1 -t; t 1] about its origin, turning it by atan(t) and enlarging it by sqrt(1 + t^2). Flip X turns the other way, and games cut the scale to compensate for the enlargement. This was worked out from Apache 3: Ground objects carry t = tan(bank angle) (0xa9 at a bank of about 33 degrees) and their scale shrinks by 1/sqrt(1 + t^2); the mountain strip's origin stays at a fixed distance from the horizon, so the base of the strip stays on the ground plane. Its 68000 object tables (0x92e4) appear to offset positions by M * (sprite centre), for the attract rotor and the title logo, unflipped and X+Y flipped. Mirrored ground objects (flip X, -t) lean with the bank like their unmirrored twins, and the logo turns on continuously through its X+Y flipped phases. Every sprite is drawn a scanline at a time, tracing each screen pixel back through the rotation and the scaling to a pixel of the sprite ROM tiles with integer maths, so no bitmap is needed to hold the sprite while it is rotated, and an unrotated sprite is just a slope of zero. This replaces the per-tile zoom drawing. The chip is shared, so Apache 3, Round Up 5, Big Fight and Cycle Warriors all get the rotation and the Y flip change below. Round Up 5's course map logos now spin and zoom out from the track locations and its riders lean into bends, instead of flipping through flat 90 degree turns and drawing upright. Repeat sprite lines flagged by bit 7 of byte 3 of the sprite ROM header: Each line's tiles repeat on to the screen edge in the drawing direction. Apache 3 relies on it for the splash backdrop (a 32 pixel strip that must cover the screen, hiding the previous level's ground), the dense bush rows at take-off and tree lines, and Round Up 5 for the sea strip beside the road. Bit 0 of byte 3 of the header is bit 8 of the number of source scanlines, so a sprite can be up to 511 lines (64 rows) tall. Only byte 2 was used, so a tall sprite was cut off after its first rows: Apache 3's big city buildings close to the camera lost everything but a strip of roof (sprite 0x869 has byte 2 = 0x57 but is really 0x157 = 343 lines). A Y-flipped sprite covers the mirror image of its box, ending at its origin like an X-flipped one, but was drawn one line (8 x scale) lower. The game programs the HD6445 for 400 x 280 (55.8 Hz); the screen was set to 272 lines (57.4 Hz). Service switch toggles, add Use Throttle and Disable Coins DIPs: The service switch is a toggle on the board, not a held button. SW2:7 enables the throttle input (off: automatic speed, throttle shown as XX in service mode) and SW2:8 disables the coin inputs except the service coin. Take the sky gradient from the ground accumulator: Above the horizon the ground accumulator goes negative and its low 7 bits appear to address the sky gradient (palette entries 0x100-0x17f), one entry per line, the lightest at the horizon. The gradient was picked by the sky accumulator the game also writes instead, which follows the game's pitch: The gradient grew and shrank by a factor of two over the city stage, and ran from light at the top of the screen to dark at the horizon, the wrong way round. It now keeps the same height, about 55 lines in the city, whatever the pitch, and follows the bank angle with the horizon. The sky accumulator words are not used any more. Use No/Yes for the Use Throttle and Disable Coins DIP settings. Make the Apache 3 hardware verification item a TODO in the imperative. This fix was fully created using Claude Opus 5.5 (tatsumi\apache3.cpp and tatsumi\tzbx15_sprites.cpp) (ID 05304) (ID 09098).
  . Round Up 5 + tatsumi\tzbx15_sprites.cpp
    . Place the second road set at shift + shift2 (tunnels): In tunnels the game pushes the first road pixel set off screen (shift 0x87b9) and draws the road with the second set, whose position is shift + shift2 (13.3, wrapping at 16 bits). It was placed relative to the end of the first set, so tunnels showed no road at all. Each screen pixel now picks whichever set covers it, with the left, between and right fills as before. Shadow sprites select the shadow half of the palette: Pixels under a shadow-pen sprite were dimmed by halving their RGB. In Round Up 5 they use the second half of the palette instead (0x300-0x3ff, the same layout as 0x100-0x1ff). In a tunnel the game blacks out the normal half and writes the scenery colours into the shadow half, so the tunnel mouth, a shadow sprite that grows as the car nears the exit, shows the scenery beyond it as an arch opening at the horizon, and the rest of the screen stays black. The sky and skyline only appear once the car is out. Previously the scenery stayed black and popped in after the exit. The background fill, both landscape layers and the road now read the shadow half where a shadow sprite covers them. Review fixes: Use auto for the destination row pointer in draw_sprite. Narrow the flipped sprite distance after the subtraction, in 64 bits. Reword the Round Up 5 shadow palette comment. Use No/Yes for the Use Throttle and Disable Coins DIP settings. This fix was fully created using Claude Opus 5.5 (tatsumi\roundup5.c and tatsumi\tzbx15_sprites.cpp).
    . Improved road edges in tunnels. In tunnels, the game places the first road pixel set off to the right of the screen and draws the road with the second set. Pixels outside both sets take the edge pen of the outermost set on that side, from that set's palette bank. Added the MB3773 watchdog and made the service mode switch a toggle (tatsumi\roundup5.cpp).
    . The higher road pen wins where the two road sets overlap. In a fork the two road sets overlap on screen and the real board shows one road widening into two, with no kerb of one set drawn over the asphalt of the other. Pick the higher pen of the two sets where both cover a pixel so the asphalt covers the kerbs, and take the palette bank of the set that supplied the pen (tatsumi\roundup5.cpp).
    . Promoted 'Round Up 5 - Super Delta Force' to working.
  . Big Fight: https://youtu.be/ooQl-78b-s8 is a video of Big Fight, from start to finish with your latest code. All weapon pickups, and special moves that rely on the rotation look correct. This is much improved from the existing code in MAME.
  . Promoted Apache 3 (rev F), Apache 3 (rev E), Apache 3 (Kana Corporation license, rev G), Cycle Warriors (rev C), Cycle Warriors (rev B) and Cycle Warriors to working.
- Atari 800 (bartop52.cpp and maxaflex.cpp): Split up carts and SIO devices into separate folders (bus\a800\*)
- Attack UFO
  . Fixed vertical retrace rate. Rewrote the VIC as a cycle-exact raster pipeline. Replace the per-line timer with on-access catch-up and cached video/colour RAM access. Results in a 14% idle speedup on (MESS) VIC-20. Assisted by Claude Opus 5.5 (sound\mos6560.cpp).
  . Synchronize the VIC before CPU RAM writes (misc\attckufo.c)
- Backfire!: Fixed sound routing
- BanBam: Hook up MCU for BanBam and clone Pettan Pyuu (Japan) and removed simulation. GPT-5.6-SOL was used as a research and debugging tool.
- Battlezone: Fixed random number generation and hook up external sound board to clone Desert Wars (bootleg of Battlezone). Moved Desert Wars to its own state class in an anonymous namespace. Split bzone_audio so Desert Wars uses the discrete block with the AY feeding the POKEY input. Battlezone audio output is bit-identical to before. Removed MACHINE_NOT_WORKING and kept MACHINE_IMPERFECT_SOUND: the AY clock (CPU clock / 2), the CD4040 clock and the AY output level aren't verified. Promoted Desert Wars (bootleg of Battlezone) to working. Assisted by Claude Opus 5.5 Max.
- Beyond Kung-Fu: Decrypt the rom and decode the usage. Promoted game to working. TODO: Priority issue with main sprite against steps at the end of some stages.
- Burger Time: Correct 'Bonus Life' dsw for clone Burger Time (Midway) (ID 09571)
- Black Tiger: Correct interrupts, added manual sprite dma trigger and update notes.
- Capcom Baseball: 3rd coin is actually service coin. Improved clocks.
- Captain Zodiac: Sort coinage settings from least to most generous
- Change Lanes: Removed unecessary prefixes and cached bitmap row accessors
- Check Man: Lower AY-3-8910 volume for clone Check Man (Japan)
- Cool Gunman: Dumped PCM ROM
- Crazy War: Initialise VRAM page on start (fixes potential crash on start when debugger is enabled), slight optimisation (eolith\vegaeo.cpp).
- Cross Puzzle: Made it boot. Reversed by Claude Opus 5. Applied feedback. Update clock rates for crospuzl based on PLL writes.
- Cruis'n Exotica: Rework dashboard layout to match the real cabinet. Added unlit radio button (layout\crusnexo.lay). Updated release date for the latest Cruis'n Exotica version according to a Midway service bulletin (https://arcarc.xmission.com/PDF_Misc/Midway Software Versions as of 02-12-2001.pdf). Correct DIP name.
- DT7 (prototype): Various changes: Fixed two dt7 decryption table entries. Added a note regarding cross-validation against batsugun's decryption table (toaplan\toaplan_v25_tables.h). Hooked up inputs, ADC and EEPROM properly. Wired 2P start into the second input chain. Documented the extra input latches and linked-player flow. Fixed duplicated start bit in the player input ports. Added binding for the service input. Partially fixed coinage (it's presently necessary to coin up using service-coin inpuyts). Fixed row-scroll support on the text layer. Modeled sound as two mono speakers, one per cabinet side. Promoted game to working.
- Dark Seal: Improved tilemap priorities and rowscroll (bossfight just before final boss)
- Defender: Redumped clone Operacion Defender (bootleg of Defender)
- Dragon Gun
  . Added decrypt function for a future i750 implementation to pull bytes through plus a small self-test. Claude Fable 5.1 assisted with reverse-engineering of the decryption, including a Python proof-of-concept and GPT-6 Astra assisted with a Python i750 emulator that proved the decrypted results decode to correct video using dragngun's own program.
  . Preliminary Intel i82750 CPU core. Preliminary working video backdrops for Dragon Gun. GPT-6 Astra assisted with research and planning, a Python proof-of-concept that decoded the videos, debugging and validation.
- Dynasty: Dumped gfx rom for Dynasty (1992, V5.1G)
- Enduro Racer: Fixed end address off-by-1 regression (sound\segapcm.cpp). Fixes broken engine sounds in Enduro Racer (ID 09512).
- Euro Bingo 7: Added PAT PLD and counters SEEPROM dumps
- F-1 Grand Prix: Implemented screen flip. The flip bit in gfxctrl was latched but never used. The ROZ layer is not flipped by the video chip at all: The game writes a mirrored 053936 transform matrix itself. Removed MACHINE_NO_COCKTAIL from the f1gp sets; f1gp2 keeps it (different video path, still not implemented). Co-Authored by Claude Opus 5.
- Family Bowl: C76 and IOMCU rom regions were the wrong way around
- Fancy Bowling: Made the game boot. Claude Opus 5 identified and solved the boot problems (missing ident of the CF card, UART communication getting stuck and blocking boot).
- Flash Beats: Added waitstates to sound map as dictated by SCSP delayed MSLC. Fixes hiccups once SCSP start playing samples. Normalize address_map. Fixed input mappings.
- Gamebox: Now functional with video, sound, inputs and the GBA cartridge slot. Preliminary implementation of on-board peripherals for the Ingenic JZ4755 SoC (machine\jz4755.cpp). Reverse-engineering, planning, and debugging assisted by Claude Opus 5.5.
- Gigandes: Vorrect screen refresh rate for Gigandes to match stage intro jingle with screen (ref. https://youtu.be/2CaG_D98tVY?si=dMYNppMD50nXYmKU).
- Grand Striker: Promoted 'Grand Striker: Human Cup (Europe, Oceania)' and and clones 'Grand Striker: Human Cup (Americas)' and 'Grand Striker: Human Cup (Japan)' to working
- Happy Fish: Preliminary implementation of FameG FS8806 DES authentication chip. Added SPI mode (machine\fs8806.cpp). Hooked up FS8806 authentication chip. GPT-6 Astra assisted with DES details and some of the finer points of the protocol. Set proper board clock implied by the firmware parameters to the Linux kernel. Found and hooked up the other 2 buttons per player. Promoted 'Happy Fish (V2 PCB, 302-in-1)' to working. Debugging assisted by GPT-6 Astra. 
- High Seas Havoc: Improved decryption and hooked up PIC and inputs. Claude Opus 5 did most of the reverse engineering. Promoted game to working. Keep MACHINE_UNEMULATED_PROTECTION flag. Improved decryption logic understanding.
- Hill Climber: Removed MACHINE_NO_SOUND flag
- Il Galeone: Added PLD dump
- Johnny Nero Action Hero: NEC VR5500 has unique page mask and Config encodings vs. stock MIPS III. Fixing this allows jnero to write a correct display list instead of garbage (mips\mips3.cpp and mips3com.cpp).
- Jongputer: Use decryption PROM instead of XOR tables for clone VS Computer Mahjong, fixes at least the stuck sound (constant tone in-game after the mahjong tiles are laid down). PROM hook-up by Claude Opus 5.
- Lady Gum: Marked PLD (locked) as bad
- Les Fiches: Correct cpu type
- Lethal Thunder: Irem V35 lethalth encrypted opcode fixes
- Loto-Play: Added logic and layouts. Promoted Loto-Play (MC68705, set 1, with roulette) and clones Loto-Play (MC68705, set 2, with roulette), Loto-Play (MC68705, set 3, with roulette) and Loto-Play (PIC16C54, with roulette) to working. Assistance from Claude Opus 5 Max.
- Loto-Play programming device: Z80 sets are devices for programming Loto-Plays, not Loto-Plays. Now "lotoplayzx" sets no longer are clones of "lotoplay", but of the new parent "lotoplayz". Also added a new MC68705 set and put the speaker to all sets that have one. Split the programming devices on a separate file.
- Magic the Gathering: Rewrote driver. Game boots with video, sound and controls. Definitely glitchy though (misc\magictg.cpp). Added Acclaim PinkEye JPEG texture decoder. Debugger guard the flash increment (misc\magictg_pinkeye.cpp). Fixed window decoding and DMA channel handling (machine\gt64xxx.cpp). Added actually save sram and an initialized default so it doesn't boot to freeplay.
- Mahjong Shinkirou Deja Vu: Fixed CPIR infinitely looping (tlcs90\tlcs90.cpp). Fixes mjdejavu and clone mjdejav2 tiles in players hand are not sorted automatically when start the game (ID 00964).
- Malzak: Speed up screen_update. Precompute the rounded character generator rows at device start. Resolved foreground/background colors once per character and write pixels directly to the bitmap row. Assisted by Claude Opus 5.5 (video\saa5050.cpp).
- Marine Date: Promoted game to working
- Mayjinsen 2: Demoted Mayjinsen 2 as MACHINE_IMPERFECT_GRAPHICS via missing tilemap scroll emulation. Reference video at https://youtu.be/mMEvKZM6mkk.
- Missile Command: Fixed regression against 0.289 caused by an M6502 change (which exposed a bug in the driver). Debugged and verified against schematics by GPT-6 Astra.
- Mortal Kombat (Yawdim bootleg, set 4), Pango Fun (Italy), PGM and Poker (Version 50.02 ICB, set 4): Dumped and verified PLDs
- Multi Game 9: Mark maincpu as NO_DUMP. The external ROM (a29040b.21) was being used as the maincpu program, when it is clearly not valid AVR8 binary code, and it's twice the size of the ATMega2560's program memory. Claude Opus 5.5 identified the problems.
- Multi Win: Decrypted clone Multi Win (EPM7032, encrypted). Done by Claude Opus 5.5.
- New Cross Pang: Added speedup for clone New Cross Pang (set 2)
- Ninja Emaki: Redumped and fixed clone Youma Ninpou Chou (Tecfri license), promoted game to working.
- Operation Wolf: Latch TC0060DCA volume writes, fixes Operation Wolf.
- Outfoxies: Fixed overdumped mask ROMs on Outfoxies. Tested with the right EPROM equivalents on real hardware (27c800 for SHAR and 27c400 for SHAS).
- Over Drive
  . Fixed multiple IRQ and timing-related goofs. Caused everything from flashing glitches to missing sky layers. Improved main/sub comms and fixed layer offsets (konami\overdriv.cpp) (ID 02586).
  . Support two-chips-one-RAM mode and support per-line priority. Clip lines at 1024 pixels for Over Drive. Fixes grass showing through some road lines. Debugging and some fix ideas assisted by GPT-6 Astra (konami\k053250.cpp).
- Q*bert and Q*bert's Qubes: Fixed a sign error that can make the SC-01 F2 noise-injection filter unstable for valid internal ROM states (sound\votrax.cpp). Fixes sound cuts off in Q*bert and Q*bert's Qubes after a while and doesn't come back (except for the knocker) (ID 09521).
- P's Attack: Made the game boot. Claude Opus 5 reversed the PIC16C711 fake ready return. Hookup gun triggers. Use an enum for interrupt sources. Implemented light pen registers for P's Attack lightguns (machine\vrender0.cpp).
- Pac-Carnival: Dumped/Verified PLDs
- Paperboy: Fixed factory reset EEPROM for calibrated controls
- Passing Shot: dumped PROMs and PLDs for clone Passing Shot (4 Players) (bootleg).
- PC-Engine (battlera.cpp, ggconnie.cpp, paranoia.cpp, tourvis.cpp and uapce.cpp)
  . Hudson HuC6261 VCE: Draw the KING BG layers and RAINBOW video, and mix them with the HuC6270s. Implemented cellophane (layer blending). VSync on lines 0-2. Use the documented YUV to RGB matrix. Order equal layer priorities HuC6270 > HuC6272 > HuC6271. Removed the unused HuC6271 finder, tidy up. Make registers 04h-07h and 0Ah-15h readable. Mask the address register to 5 bits and R07 to 8 bits. Reset all registers and R0F to FFh. Show the fixed colour unblended under front cellophane over empty dots. Apply control register writes at the next line or frame. Added interlace, the odd/even field status bit and 262-line frames. Removed the dead resize code and the no-op post-load handler (video\huc6261.cpp).
  . Hudson HuC6271 'Rainbow': Draw the KING BG layers and RAINBOW video, and mix them with the HuC6270s. Use std::numbers for the IDCT constants. Count the stuffing byte after FF in the JPEG block size. Store palette indices as u32, tidy up. Implement the soft reset and take R01 at HSync. Take R01 at the start of HSync and clear R05 on reset (video\huc6271.cpp).
  . Hudson HuC6272 'King': Implemented the SCSI controller registers, pseudo-DMA and DMA to KRAM, and SCSI/DMA interrupts. Draw the KING BG layers and RAINBOW video, and mix them with the HuC6270s. Fix PC-FX ADPCM. Mix CD-DA into the HuC6230 line input. Drive the CD-ROM over NSCSI. Added the CD sub-code interface. Report IRQ changes only, save the KRAM address registers, tidy up. Write the halves of the ADPCM end address registers independently. Keep CPU KRAM port address increments within the bank. Added the KRAM mode register ($61). Reset the KRAM, page, microprogram index and ADPCM state. Clear the raster interrupt on a $40 write only when RINT is reset (video\huc6272.cpp). 
- PC hardware
  . Bulk replace machine_configs and inits to ATTR_COLD. Reorganize bus\pc_joy\ folder. Rename target filenames dropping the redundant pc_joy prefixes. Moved options handling in own file. Move basic_joy implementation in a new file and merge with Magnum 6 handling. Bump default PORT_KEYDELTA to 25. magnum6_pad option is now magnum6_stick. Added Gravis PC GamePad base handling. 
  . Fixed off by one error for IRQ. Hookup handling of IRQ13 for FPU. Added i387 socket for at386 (machine\at.cpp).
- Play Sonic 4: Improved emulation: Added the vblank NMI (enabled through the output latch), so the system now boots past the self-test. Mapped the I/O 0x00-0x1f outputs as four 74LS259 latches: game PCB select relays, coin/start pulses to the selected PCB, coin counters and NVRAM write enable. Added a layout with the credits and time LED displays. Added the tile bank bits from the attribute byte. The screen is black while a game PCB's video is selected. Documented the three undumped color PROMs (marked NO_DUMP). The palette is a placeholder, so the set is flagged MACHINE_WRONG_COLORS. Fixed the input types, added DIP switch locations as shown by the test mode, and changed the sound flag to MACHINE_NO_SOUND_HW. Minor fixes on the color prom decoding (guess, they're not dumped). Assisted by Claude Opus 5.5.
- Poker Ladies: Partially decrypted opcodes for the encrypted Poker Ladies bootlegs. Assisted by GPT6.
- Portraits: Dumped PROM on the photo acquisition PCB
- The Predators: Improvements. TODO: Refine inferred video clocks and slave-bus handshakes if more documentary evidence becomes available; no hardware is available for measurements. The SC firmware processes the inputs, but the remote serial transmitters and host snapshot handshake are represented at the packet level.
- Psychic Force 2012
  . Fixed intermitant fatalerror in pf2012 and (MESS) p5txla. The PCI core can call remap() before the device gets reset (machine\w83877tf.cpp).
  . Preliminary GUI drawing (aka "ROP") support, including hardware cursor (video\atirage.cpp). Use award15 keyboard LLE implementation for p5txla (taito\taitowlf.cpp).
  . Avoid mapping COM1 and COM2 on lower 0x000-0x0ff range. Disallow accessing devices in power down state, make PNPCVS POR strapped. Fixes p5txla conflicting devices at POST (machine\w83877tf.cpp).
  . Drop PAM - 1 setups (machine\i82439hx.cpp and machine\i82439tx.cpp). Fixed config_map registers, command/status setup, subscribe to logmacro and register to save states (machine\i82439tx.cpp). Added RAM device and map available memory only (machine\i82439tx.cpp and machine\i82439hx.cpp). Map SMRAM while SMIACT# is asserted. Copied from i82439hx implementation (machine\i82439tx.cpp).
- Push-Over: Fixed scrolling. The game is playable but needs a better layout. GPT-5.6-SOL was used as a research and debugging tool. TODO: Needs a proper layout. Various sections of the screen should be hidden behind an opaque screen overlay (https://youtu.be/rf1VuWgFDJ4).
- Puzzle Yutnori: Added preliminary sound simulation for Yutnori and improved protection simulation. Protection: Replying with the complement of the request byte with its nibbles matches the fixed and table-based checks. Sound (high-level simulation, the microcontroller is undumped): Commands 0x01-0x20 written to $400001 play voice ROM samples 1-34, 0x81/0x82 play the music in the two banks of the music ROM, 0x80 stops it. Raised MSM6295 clocks to 2 MHz to correct speech and music speed.
- Qi Wang Zhengba: Decrypted and simulated protection for TCL. Claude Opus 5.5 did all but cleanups. Gave TCL dedicated input definitions based on test mode.
- Queen?: Get rid of lpci and pcshare use
- Raiden Fighters Jet: Clones rfjetsa and rfjet2kc speedup hack checks were missing, rfjets testmode workaround appears to be obsolete (entering testmode works fine).
- Reality Tennis: Implemented blitter scaling, 8-bit spans, the (1,1) origin and blit timing. Use std::has_single_bit for the gfx region size check. Tidy types and comments, drop the busy flag, walk the blit by rows.
- Reel Magic: Decrypted ROMs and fleshed out the driver. Promoted game to working.
- Road Riot's Revenge: Require OKI regions to be configured for JSAIII / JSAIIIs - improved sound in Road Riot's Revenge, promoted game to working.
- Robot Bowl: Dumped PROMs (line drawing; not used by the emulation)
- ROLLing eX.tre.me
  . Emulated the parallel processors and transfer controller. Promoted game to working. Removed the PP simulation: PP0 runs the game's polygon queue and feeds the graphics FIFO, PP1 runs the sound mixer. Added sound output through four DACs and the board's output filters. Added the link registers and an optional TCP cabinet link. Fixed renderer clipping, translucency, texture sampling and byte order. Use sized types for opcode and register fields. Use the TMS dump provided by Gaelco (fixes startup check). Reduced host work, fixes rendering and apply the cabinet audio gain. Apply the nominal cabinet amplifier gain to the output routes and flush denormals in the output filter. Use the primary texel's mask bit for visibility, pixel-centre vertex coordinates and truncated depth with a roundoff allowance. Draw header mode 0xe/coefficient 15 polygons at half opacity and skip the depth test for affine (bit 29) packets. Saturate the renderer's float-to-integer conversions. Fixed PP loop end priority, displayed frame buffer and output clipping and tidy up. Display the last complete frame buffer rather than the one being drawn. Keep the output gains at or below unity, so maximum volume no longer clips and use standard biquad filters. Size the frame, Z and texture mask buffers to the hardware, shrinking save states. Fixed signed overflow in texture coordinates and wrapped bilinear fractions. Use 16-bit audio and palette handlers, an 8-bit texture mask handler and one handler per link register. Log undecoded translucency modes once (gaelco\rollext.c).
  . Added a parallel processor interpreter: Pipeline, parallel transfers, extended ALU operations, zero-overhead loops, interrupts and HALT behaviour. The PPs are now internal devices of the MP. Replaced the immediate packet transfer shortcut with a scheduled transfer controller supporting long and short form, guided, fill, peripheral, block-write, transparency and VRAM transfers, suspension and resumption, request priorities, PTMIN/PTMAX timeouts and external (XPT) requests. Master processor fixes: 15-bit immediate sign extension, aligned memory accesses, base register update order, JSR delay slots, rounding modes for FRND/VRND, unordered FCMP results, timer interrupt, writable CONFIG and FPST bits, PP message interrupts. More state is saved. Map the MP parameter RAM as RAM. Skip idle-loop analysis in short slices and for the canonical PP NOP, and avoid needless MP register snapshots. Give coincident PP loop ends priority from le2 down to le0 (SPRU110 11.4.1). Store the unmodified SP when a PP task starts (SPRU154 figure 1-5). Run consecutive transfer controller data beats in one timer callback. Route PP data accesses through the PP's address space, so its watchpoints work. Call the PP debugger hook before an instruction's memory accesses. Fixed the disassembly of PP parallel transfer formats 6 to 9 and of six-operand register banks. Fixed shift.ds sign extension with an end mask of 0. Access MP register pairs explicitly instead of through a union that assumed a little-endian host. Use sized types and MAME helpers, and remove the unused command callback. Stop transfer controller batches at the next scheduled event (tms320c82\tms320c82.cpp) [ClawGrip].
- Rotary Fighter: Added color overlay
- Royal Card (Nichibutsu HW): Replaced the faulty graphics ROM chrgen.cr3 with a better dump
- Russian Roulette: Rewrote driver. Fixed ball handling, movement is counterclockwise. Added flipy handling to tilemap. Fixed palette size (128 entries not 512). Hookup lamps, hopper, dip definitions and guess bitplane 0 use. Trim PROM to 7114 size.
- Savage Quest
  . Handle the dongle protocol pin by pin (centronics\hasp_savquest.cpp). Keep the last mip level and bound texture LOD selection. A texture whose minimum LOD is 32 (LOD 8, the last valid mip level) was treated as having no texture at all, and the LOD clamp used std::clamp, which is undefined when the register's minimum is above its maximum. For split textures without level 8 the selected level could also index past the end of the LOD offset table. Small textures such as Savage Quest's HUD were affected (video\voodoo_render.cpp).
  . Support the SGRAM fill commands used by Savage Quest (video\voodoo_2.cpp)
- Scorpion: Fixed rom loading for clone Aracnis (bootleg of Scorpion on Moon Cresta hardware, set 2) and promoted game to working.
- Sea Wolf II: Fixed French language DIP switch
- Seibu Cup Soccer: COP MCU corrections for Seibu Cup Soccer: 0205 = The sign of the position update comes from bit 0 of the trigger, not from a fixed addition. 130e/3b30 = The length field of the trigger, ((trigger >> 7) & 7) + 1, decides whether the command writes the angle back; bit 7 alone is not enough. Also raise status bit 15 on the integer part of the delta, as the COP works in pixels. 330e = Operates on cop_regs[1], as the uploaded microcode words ($0AA4/$0AA2) select register 1. 338e/3b30/e30e = 338e latches the deltas that the following 3b30 and e30e read back. 6200 = Writes the resulting angle as a byte. d104 = Scales the velocity in place by the 16.16 factor. 5105/5905/f105 = Implemented; the dispatcher only printed a message. z-sort DMA = The list holds data + 1 entries and the sorting key is a signed word (seibu\seibucop.cpp, seibu\seibucop_cmd.ipp and seibu\seibucop_dma.ipp).
- Sliver: Added Zoran ZR36050 JPEG decoder and converted Sliver to use it (video\zr36050.cpp).
- Space Force: Improved clocks (ID 09561). Improved text colors (matches PCB video). Removed color table and added screen raw params.
- Star Rider: Correct parallel load, reset and output controls (machine\2812fifo.cpp). Connect cabinet audio mixing. Route cabinet sound through four mixer paths. Address cabinet mixer review. Preserve cabinet effects speaker separation.
- Stop: Added layout, logic and promoted the game to working. Code and debug assisted by Claude Opus 5 Max.
- Super Glob: Connect test switch to enable diagnostics for theglobp and similar epos games (beastfp, beastfpa, theglobp, theglobpa, theglobme, sprglobp, sprglobp2 and sprglbpg).
- Super Pinball Action: Fixed dipswitch port regression
- Super Real Mahjong P.V: Simplified address swizzling code. Fixed gamename, canonically known as "P.V".
- Super Slam: Further analyze program ROM to determine cause of buggy behavior, removed kludge that partially fixed it in favor of something that works and removed 'Super Slam (set 2)' as it's a bad dump.
- Super Wing: Lower cpu clocks. Dumped one of the proms.
- Syvalion: Fixed sprite vertical zoom and low life warning message in Syvalion. Analysis assisted with Cursor Grok 4.6 (taito\taito_h_v.cpp).
- Table Tennis Champions: Fixed endianness issue on blitter ROM access, added side effect checks, cleaned up screen update and read side of address map a bit.
- Tao Taido: Fixed player 2 controls in clone Tao Taido (6 button version). Note: For a long time in clone taotaidoa, player 2's kick buttons (4-6) actually causes player 1 to kick in-game, as if they pressed their own corresponding kick buttons. The game checks player 3 and 4 inputs, which are visible in the service mode's input test program, and reuses them for kick buttons. As noted in the driver notes, players 3 and 4 aren't used at all in the 2-button parent taotaido or the 2/3-button clone taotaido3. Adjusting the 'P4' port to map buttons 1-3, rather than three of the directions, to player 2's buttons 4-6 allows player 2 to kick as expected.
- Terebi Denwa Super Mario World: Fixed most GFX bugs with 'Terebi Denwa Super Mario World'. Maps sprite flipy with an alias. Align sprite vertical positions and tilemap X positions (seibu\sei021x_sei0220_spr.cpp and seibu\seibu_crtc.cpp).
- Tetris (set 1)
  . Update PCB layout. All components correctly identified and checked against a real PCB.
  . Correct ROM labels and added some PLD dumps to clone Tetris (bootleg set 6, with UM3482)
- Tong Zi Maque: Fleshed out the driver. Claude Opus 5 completed the decryption, reversed the EEPROM and RTC hook-up and helped with the GFX emulation.
- Triple Hunt: Return expected NVRAM byte when read side effects are suppressed
- Trivia R Us: Don't flip in vblank if the count is zero. Fixes most of the graphics in Trivia R Us dissapears when there's text in Jestbook and Funny Question Game (video\vrender0.cpp) (ID 08891).
- Video Pulltab
  . Made game bootable and playable. Fixed IRQ clear on status read and fixed transmitter empty status bit (machine\r65c52.cpp). Claude Opus 5 helped to debug what was going on with this one, including the crude protection. Removed the workaround for the mcs51 TxD reset level (misc\ramstar.cpp).
  . New cycle-interruptable 65816 core (WDC W65C816S) using the existing m6502 generator infrastructure. Claude Opus 5 assisted with conformance testing and a final refactor and cleanup pass (m6502\m6502d.cpp and m6502\m6502make.py). Converted ramstar to w65816 core.
- Wanpaku Fishing: Hook up Wanpaku Fishing's reel handle. The game reels in while P1 bit 3 toggles (polled once per frame, $27c4). Input test shows bits 6/7 as HANDLE RIGHT/LEFT. The rod's position switches stay unhooked. Model Wanpaku Fishing's reel handle as an encoder. Reading P1 changed the handle's state. Now one phase of a quadrature encoder is the pulse on P1 bit 3, and its rising edge latches the other phase as the direction on bits 6 and 7. Promoted game to working. Added support for detents and improved response for slow movevements (machine\quadmouse.cpp).
- Western Shooting: Got game running and discovered it's really the ultra-rare Western Shooting. Needs a gun hookup.
- Wink: Emulated protection according to schematics. Reversed by Claude Opus 5. Fixed NVRAM hookup. Fixed DIP routing and added DIP locations. Assume refresh rate being nearer to PAL rather than NTSC clocks out of using a 256x256 display. Promoted Wink (newer) and clones Wink (older) and Wink (older, bugfixed) to working. Use the tilt input type.
- Xexex: Alpha tiles on layer 1 use the upper 256 colours, fixing the dark stage 4 boss.
- Xingyun Caishen: Hook up the YM2413 and inputs
- Xtreme Rally: Fixed tunnel mist effect by improving linescroll (snk\hng64_v.cpp)
- Description changes of Arcana Heart (Japan), Arcana Heart Full (Japan), Bai Bian Dou Dizhu (set 1), BattleFront (V133F), Big 10 (1986, System Make, set 1), Blazing Tornado (Export), Bolsa Internacional (Euro), Booby Kids (CC, Magnet System), Chao Ji Da Heng 2 (S215CN), Chao Ji Da Heng 2 (S311CN), Chao Ji Da Heng 2 (S311CN, alternate GFX ROMs), Chao Ji Da Heng 2 (S311CNA), Chao Ji Da Heng 2 (S311CNB), Checkmate (set 1), Cherry Master '99 (QL-1 V9B.00, Cleco, Hand Count), Cross Puzzle (v. 1.00), Cuty Line Limited 2 (V1.60), Cyber Commando (Japan, CYC1), Dash! A.3.7 (ver 1998/10/22), Dash! A.3.7 (ver 1996/11/18), DecAthlete (JUET 960424 V1.000), DecAthlete (JUET 960709 V1.001), Dingji Dou Dizhu (set 1), Double Bet (bootleg of Janyou Part 1, set 1), Dou Dizhu II (set 1), Dragon Ball Z - Bucchigiri no Chou Kessen (ver. 1.1), Dyger (Korea, set 1), Dyger (Korea, set 2), Dynamic Chance (Final Type3 DEP ver 1.1), Dynamic Chance (Final Type3 DEP ver 1.1, alt), Dynamic Plus One (Dynamic SP, AV ver 1.00), El Estivador (Spanish bootleg of Port Man on Galaxian hardware, set 1), Exciting Fever (set 1), Fancy Bowling, Fengkuang Dou Dizhu (M16C-based hardware), Fatal Fury Special (SNES bootleg with overlay), Flash Beats (Japan), Fuusen Penta, Grand Striker: Human Cup (Americas), Grand Striker: Human Cup (Europe, Oceania), Grand Striker: Human Cup (Japan), Halloween 2 (Nova Desitec, set 1, Portuguese), Halloween 2 (Nova Desitec, set 2, Portuguese), Ikari III - The Rescue (US, Rotary Joystick, set 1), Jin Ji Bao Xi (Top-7, V8.8, set 1), Jin Ji Bao Xi (Top-7, V8.8, set 2), Kaixin Dou Dizhu, Killer Instinct (SNES bootleg with overlay), The King of Fighters - Fuchou Zhi Lu (Chinese/English), The King of Fighters 2002 - Unlimited Match (Japanese/English), Knights of Valour 2 New Legend / Sanguo Zhan Ji 2 Hengsao Qian Jun (V302, Oversea), Knights of Valour 2 New Legend / Sanguo Zhan Ji 2 Hengsao Qian Jun (V300, Oversea), Knights of Valour 2 New Legend / Sanguo Zhan Ji 2 Hengsao Qian Jun (V301, Oversea), Knights of Valour 3 HD (M-101CN 12-12-14 16:01:38), Knights of Valour 3 HD (M-102CN 13-01-11 10:35:28), Knights of Valour 3 HD (M-103CN 13-03-06 10:27:05), Knights of Valour 3 HD (M-104CN 13-05-16 14:48:16), Koi Koi Shimasho - Super Real Hanafuda (E63-00001 PCB), Lian Huan Pao - ATT II (Z80 audio CPU), Mad Dog II: The Lost Gold (USA, 3DO hardware), Mahjong Reach (Ver. 1.00, bootleg set 1), Mahjong Yarunara (Japan, ver. 1.00), Orbatak (USA, prototype), P's Attack (V1.11a), Paradise Deluxe (set 1), Photo Safari in Australia (set 1, Brazilian Portuguese), Photo Safari in Australia (set 2, Portuguese), 'Print Club 2 Standard Ver1 (U 970921 V1.000)', Loto-Play (MC68705, set 1, with roulette), Loto-Play (MC68705, set 2, with roulette), Loto-Play (MC68705, set 3, with roulette), Loto-Play (PIC16C54, with roulette), Loto-Play programming device (set 1), Loto-Play programming device (set 2), Loto-Play programming device (set 3), Lucky Roulette Plus (6-players, Spanish, set 1), Maldaliza!, New Puck-X (set 1), Mortal Kombat 3 (SNES bootleg with overlay), NFL Hard Yardage (v1.00), NFL Hard Yardage (v1.10), NFL Hard Yardage (v1.20), Penguin Party (US-TM.01.01.B, 2012/01/16), The Phrase That Pays (Game Number 95400687), Poker Ladies (censored bootleg, encrypted), Poker Ladies (uncensored bootleg, encrypted), Puzzle & Action: Sand-R (J 951114 V1.000), Radio Times (Game Number 95400009), RayStorm (VER 2.60G), Reel Magic (Impera, INT v1.0-IMP), Ring King (US, Wood Place), Royal Poker (V1.85, low resolution), Rugby? (Four Roses hardware), Shippuu Mahou Daisakusen (Japan), SNES 4 Slot arcade switcher (1993), Solitaire (version 2.5, set 1), Super Color II, Super Mario World - Mario Undoukai (Japan), Super Real Mahjong P.V (Japan), Telly Addicts (Game Number 95400021), Telly Addicts - The New Series (Game Number 95400023), Terebi Denwa Doraemon (Japan), Terebi Denwa Super Mario World (Japan), Terebi Denwa Thomas the Tank Engine and Friends (Japan), Texas '99 (QL-1 V9B.00, Cleco, Hand Count), Top of the Pops (Game Number 95400101), Tropical Fruits (Playmark, V. 24-06.00 Rev. 4.0), 'unknown 960606-5 based machine (set 3)', Vegas Roulette (bootleg, new revision), Video Pulltab (version 80.1), Wakeng (VRender0-based hardware), Wave Runner (Revision A), Western Shooting, Wink (newer), Wink (older, bugfixed), Witch Game (Export, WG12T1F), Witch Game (WG12T1) and Youma Ninpou Chou (Tecfri license).
- Fixed rom names in cbasebal.cpp, crystal.cpp, goldstar.cpp, megasys1.cpp, namcos22.cpp and sbmjb.cpp
- Renamed (4in1) to (4funin1), (4in1a) to (4in1), (4in1b) to (4in1a), (akamj) to (akamja), (cjddzsp) to (cjddzsp122cn), (cobracomjb) to (cobracomjbl), (ddz) to (kxddz), (dynamj) to (cll2), (gunwars) to (gunwarsj), (ichiban) to (ichiban305), (janyou) to (dblbet), (karnova) to (karnov5u), (koikois) to (koikoisa), (mag_boob) to (mag_boobcc), (magreel) to (reelmag), (ninjemat) to (youmat), (sandor) to (sandr), (shtstar) to (westerns), (solitaire) to (solitair), (srdarwinb) to (srdarwinjbl), (sslamb) to (sslama), (sweetld4) to (sweetl4b), (tabpkr) to (royalpkr185l), (unkfr004) to (hallow2nd), (unkfr004a) to (hallow2nda), (unkfr004b) to (photosafa), (unkfr004c) to (photosafaa), (unkfr009) to (supcolr2), (wcbowldx) to (wcbowldx200), (wink) to (winkob), (winka) to (wink), (witchgmea) to (witchgmeb), (yiear) to (yieari) and (yiear2) to (yiearg)
- Dipswitch fixes in banpresto_tomy_h8s.cpp, bfm_cobra3.cpp, cmmb.cpp, crospuzl.cpp, dyna_dc4000.cpp, goldnpkr.cpp, goldstar.cpp, hshavoc.cpp, igs_m036.cpp, kingdrby.cpp, midzeus.cpp, namcos23.cpp, pacman.cpp, pgm3.cpp, simple_st0016.cpp, splash.cpp, system16.cpp, tomsadvs.cpp, wink.cpp, yunsun16.cpp and sealy_z80.cpp
- MAME
  . VIDEO RENDERING SYSTEM
    . Split the screen_device into multiple devices depending on the actual type. Scripts to do the mass conversions written by Qwen 3.6 (emu\divo.cpp + emu\screen_svg.cpp). Re-Add aspect ratio info (useful for determining driver screen 'resolution') (emu\screen_svg.cpp).
    . Changed the frame_period API to use attotime instead of attoseconds. Fixed the "default sizing" case (emu\screen.cpp). Fixed vpos()/hpos() for the case where a device is still in the previous frame, mirroring a case update_partial() already handled. Debugging assistance by Claude Fable 5.1 (emu\screen.cpp).
    . Fixed a ~20 year old bug (dating to 0.106u2) with vector.cpp: The initial point of the first vector line when a new vector list was processed always started at 0,0 instead of starting at the end point of the last line in the most recently processed vector list (emu\vector.cpp).
    . Cleaned up rectangle interface a little. Added a few more helper fumctions for common operations. Got rid of the comparison operators. They didn't implement total ordering, they were unintuitive, and nothing used them. Did a pass of updating code to use rectangle accessors. There's still a lot more to do, but it should improved the chances of more modern approaches being copied in new code. Also, using the contains/overlaps helpers when conventional inclusive coordinates are used helps highlight the cases using exclusive coordinates. Fixed several obvious bugs where the wrong coordinate was used, inclusive/exclusive coordinates were confused, etc. Also simplified some calculations and lifted things like bitmap row address calculations out of loops (util\bitmap.h).
    . BGFX
      . Added vector CRT renderer (GitHub #15692). Enable vector CRT rendering by default. Keep -nobgfx_vectorcrt available as an explicit opt-out. Increase bloom targets from one-third to half resolution to prevent the blur kernel from becoming under-resolved at 1080p. Normalize blur offsets against output resolution to preserve the apparent bloom size (bgfx\* and render\bgfx\*).
      . Added 'depixelize' screen chain based on Felix Kreuzer's implementation of Kopf & Lischinski's SIGGRAPH paper (bgfx\effects\depixelize\*)
      . Properly use the new rowbytes on mode changes. This resolves a bunch of driver-dependent issues including blank screens on macOS and crashes with MesaGL on Linux. Debugging assisted by Claude Fable 5.1 (bgfx\chainmanager.cpp and bgfx\texturemanager.cpp).
      . Fixed uninitialised first frame and resize frame on Metal. The ortho view was created with index 0 instead of UINT_MAX, so setup() was skipped on its first frame. View 0 was then drawn with bgfx's default 1x1 view rect and no clear, presenting an otherwise uninitialised backbuffer. Bind backbuffer for window 0 resize clear. Fixed uninitialised adjuster flag, palette use-after-free and RGB32 BCG (MT 8586). Co-authored by Claude Opus 5.5 (render\bgfx) (ID 08586).
    . Polygon rendering: Clip extents before calculating its parameters (video\poly.h). Changes for better performance and multi-core scaling: Work units go onto per-bucket lists on the submitting thread and are handed to the queue in batches (128 units or 16,384 pixels, and at 'wait()'). Each bucket has at most one callback in flight, which renders its list in order. Rendering order within a bucket is unchanged. New 'WORK_QUEUE_FLAG_COARSE': idle threads sleep on a condition variable instead of spinning, and are woken only for new work. With 'WORK_QUEUE_FLAG_HIGH_FREQ', the automatic processor limit is 8 instead of 4. poly_manager uses it; other queues keep their current behaviour. New 'osd_work_queue_thread_count()' and 'osd_work_item_queue_list()' (one item per entry of a parameter array). With no background threads, poly_manager renders units directly, so the old lock-free chaining code is gone. 'wait()' keeps waiting rather than resetting its arrays while callbacks may still be running. Research and debugging assisted by GPT-6 Astra. Use the pre-load hook to let all render threads finish before loading a state (video\poly.h).
  . MEMORY SYSTEM
    . Fixed nullptr access during validation (emu\emumem_mview.cpp and emu\emumem.cpp)
    . Fixed sub-dispatch entry computation in init_handlers. Callers pass start_entry/end_entry already shifted by their own LowBits (passed as lowbits). When the recursion reaches a dispatch level with a larger LowBits, the entry index must be shifted by (LowBits - lowbits), not by LowBits; the old code was only correct when lowbits was 0. This hit non-aligned views larger than 16 KiB, such as the internal ROM of the H8S/2324 and H8S/2329, which banpresto_tomy_h8s.cpp had to work around by using an H8S/2320. Astra-6 Extra High aided with research and debugging (emu\emumem_hedr.ipp and emu\emumem_hedw.ipp).
  . DEVICES
    . Got rid of some C string pointers in APIs, allow the linker to coalesce out-of-line instantiations of state_add templates. To follow up, .c_str() calls can be removed from calls to state_add in various CPU devices (emu\distate.cpp).
    . Centrally nstantiate the most common state entry types (emu\distate.cpp). Removed deprecated set_input_line_vector. The set_input_line_vector for sunelectronics\shangha3.cpp is unnecessary due to 0xff being the default Z80 vector and the set_input_line_vector for (MESS) amstrad\amstrad_m.cpp is unnecessary due to an existing IRQ acknowledge callback (emu\diexec.h). Removed deprecated set_input_line_and_vector and remaining usages (emu\diexec.h). Actually remove the stuff for suppprting set_input_vector. Also got rid of interrupt vector members from a few machine state members. This only changes a few examples. Most of the time it should be possible to emulate the logic for generating the interrupt vector in the interrupt acknowledge callback. Partially reverted set_input_vector to avoid determining interrupt vectors based on current raster position (emu\diexec.cpp).
    . Calculate serial parity from transmitted data bits. The serializer emits only the configured number of data bits, but odd/even parity was calculated from all eight bits supplied by the caller. Mask unused high bits before counting parity so they cannot affect a frame in five-, six-, or seven-bit modes (emu\diserial.cpp).
    . Added optional signal_external_write() that other CPUs or cache-coherent DMA masters can call to notify a CPU core that a memory range changed (emu\diexec.h).
  . LUA engine
    . Fixed null-pointer crash in emu.wait()/on_machine_postload() when called before the wait-task timer is attached (mame\luaengine.cpp).
    . Allow omitting the condition and action for bpset and wpset. Fixes LUA bpset/wpset functions cause MAME crash (ID 09543) (mame\luaengine_debug.cpp).
    . Created a 'emu.register_before_startup_screens()' function to register a callback invoked prior to startup screens being displayed (mame\luaengine.cpp)
    . Added Lua bindings for audio CD player transport controls. Expose sound volume property. Assisted by OpenCode Zen and Big Pickle (mame\luaengine.cpp).
  . INPUT/OUTPUT
    . Actually added the rules to clean preset/example INI files (makefile)
    . Allow scripts to enumerate device outputs (emu\output.cpp and mame\luaengine.cpp).
    . Make state readable (machine\input_merger.h). Example usage: Reads interrupt state in atlus\cave.cpp and kaneko\sandscrp.cpp. Use input_merger_device::in_r for read IRQ state in isa\sb16.cpp and (MESS) pc98_cbus\sb16_ct2720.cpp.
    . Added missing Tab key mapping. Apply overriden value for analog fields properly (emu\ioport.cpp).
    . Fixed joystick instance tests for SDL3's unsigned ids. SDL_JoystickID is unsigned in SDL3, so the unset instance (-1) is 0xFFFFFFFF and "0 > m_instance" is never true: 3544a4d9 restored that test in set_instance's assert, undoing #14956, so debug builds abort when a controller is connected. reconnect_match has the same comparison, so a controller that is unplugged and plugged back in is never reattached, in any build. Use zero for unset joystick instance ID, fixed assertions. SDL3 uses zero to indicate errors so it can't occur for a real joystick (input\input_sdl3.cpp).
  . UI/OSD
    . Clear transient UI BIOS option without preserving command-line priority. When returning to the internal UI, MAME currently clears OPTION_BIOS by setting it to an empty value at command-line priority. This preserves a high-priority empty BIOS option, preventing per-system INI files from setting the BIOS on the next launch when no BIOS menu is shown. Revert the command-line-priority BIOS option instead. This keeps the original intent of clearing transient UI BIOS selections, while allowing game/system INI BIOS settings to apply again on subsequent launches. Fixes GitHub #11313 and #11314 (frontend\mame\mame.cpp).
    . Better handling of "main menu" mode. Also cleaned up execute bits and stray BOM characters and added makefile rules to srcclean more files (ui\selmenu.cpp and ui\simpleselgame.cpp).
    . Set lowest possible HQ resampler latency to 0.1ms (0 latency broke sound for some games) (ui\audioeffects.cpp). Fixes no sound in all BallySente games, if the Resampler type is set to HQ with the latency of 0.0 ms (ID 09533).
    . Keep the primary monitor at the front of the monitor list (osd\modules\monitor\monitor_common.cpp). Limit popup-disabling -str to 300 instead of 299 like the comment says. Revert warning popup hack (ui\ui.cpp).
    . Mount software parts on image devices added by slot defaults. See e.g. (MESS) c64_hdd:cmdhd20 or c128_flop:vdcmaniac. Apply software list slot defaults to slots added by other slot defaults. Assisted by Claude Opus 5.5 (emu\emuopts.cpp).
    . Fixes and updates. When the queue was empty, the list head was written through a cast non-atomic pointer (ThreadSanitizer race). Items are counted before they're published, so the count can no longer go negative. MULTI queues reserve a 'WORK_MAX_THREADS' thread ID for the waiting thread. Otherwise '-numprocessors 17' with the new limit gave it ID 16, past the end of per-thread arrays such as voodoo's 'm_thread_stats'. 'OSDWORKQUEUEMAXTHREADS=-1' no longer wraps the thread count to 4 billion. Queuing zero items no longer leaves the tail pointer pointing at a stack variable (osd\osdsync.cpp).
  . NETWORK
    . Set PCAP_D_IN after open. BSD implementations of pcap (including macOS) echo your own frames back at you, which breaks MacTCP. Suppress it with PCAP_D_IN where available. Don't use naked printf. Couple non-wrapped printf spamming the console (netdev\pcap.cpp).
    . Fixed inverted success/failure return from send(). pcap_sendpacket() returns 0 on success and PCAP_ERROR on failure, but netdev_pcap::send() was returning the byte count only when the call failed and 0 on success. Removed orphaned dead comment in send() (netdev\pcap.cpp). Pad pcap receive frames and append the FCS. Bound macOS pcap captures to the packet slot (netdev\pcap.cpp).
    . Fixed potential buffer overrun in packet logging helper (emu\dinetwork.cpp)
  . CHDMAN
    . Added parameter for add/remove pregap in createcd and extractcd (tools\chdman.cpp and util\cdrom.cpp). Changed LZMA compression level to keep the same dictionary size with updated LZMA SDK (util\chdcodec.cpp).
    . Added GDI pregap support (tools\chdman.cpp and util\cdrom.cpp)
    . Use modern C++ standard library facilities (#15889). This updates a few older parts of the CHD code to use standard C++ library features. Changes: Use .data() (C++11) when passing the start of a container. Use std::sort (C++98) instead of qsort. Use std::bit_width (C++20) instead of the custom bits_for_value function. Use std::endian (C++20) instead of manually checking the system's byte order. Checked the std::endian replacements against the old byte-order detection: The old native_endian == 0x100 check corresponds to big-endian and native_endian == 1 corresponds to little-endian. Added or removed includes as needed for these changes. * Use data() instead of &container[0]. Replaces &container[0] with container.data() where a pointer to the start of a standard library container is required. Uses that refer to an offset within a container are left unchanged. This makes the intent clearer and avoids indexing the first element just to obtain the underlying data pointer. No functional change intended. GPT-5.6 Sol (OpenAI) was used to help identify applicable instances and review the changes. Grok 4.5 was used as an additional code review. * Removed unused metadata_hash_compare function declaration. * Refactor sorting and remove unused comparison function. * Replaced qsort with std::sort for metadata hashes. Added operator< to metadata_hash and use std::sort instead of the C qsort + function pointer. Removed the now-unused metadata_hash_compare helper. * Removed cstdlib include from chd.cpp. Removed unnecessary inclusion of cstdlib header, no longer needed after removing qsort. * Make metadata hash comparison local to sort. Moved the metadata_hash comparison from operator< to a local std::sort lambda, keeping the comparison logic at the point where it is used. * Use data() for vector metadata input. Use vector::data() when passing the metadata input buffer, matching the same container access cleanup in chd.cpp. * Replaced bits_for_value with std::bit_width. Use the C++20 std::bit_width function instead of the custom bits_for_value implementation. * Removed static method bits_for_value from chd.h. Removed the now-unused bits_for_value declaration from chd.h after replacing the implementation with std::bit_width. * Fixed formatting of sort function for hasharray (util\chd.cpp). * Use data() for vector buffers. Use data() when passing the start of vector buffers. * Use std::endian for native byte order. Use std::endian instead of manually detecting native byte order (util\chdcodec.cpp). Use data() for vector buffers. Use data() when passing the start of vector buffers (tools\chdman.cpp).
    . Fixed several size and range handling issues: Check the full hunk byte-by-byte when determining whether it is zero-filled. The previous code checked the buffer as uint32_t values, which could leave the final 1-3 bytes unchecked when the hunk size was not divisible by four. Checking bytes also avoids requiring the input buffer to be aligned for uint32_t access. Used GPT 6.3 to help find what to change. Reject zero hunk and unit sizes before calculating the hunk and unit counts. This prevents division by zero when opening a malformed CHD. Reject zero hunk and unit sizes before checking the number of units per hunk. This prevents modulo by zero when creating a CHD with invalid size parameters. Treat zero-length byte reads and writes as no-ops. This avoids unsigned underflow when calculating the last affected hunk from offset + bytes - 1. Keep parent unit references in 64-bit values when compressing V5 maps. Also perform parent unit index calculations in 64-bit arithmetic to avoid truncation or overflow for references beyond the 32-bit range (util\chd.cpp). Retain session data (util\cdrom.cpp, util\chd.cpp and tools\chdman.cpp).
    . Fixed session parsing by extending the read_metadata function to include the absolute meta-index (util\chd.cpp and util\cdrom.cpp)
    . Handle metadata stdout write errors. Check for short writes and flush errors when dumpmeta writes metadata directly to stdout. Also, avoid attempting to remove an output file when dumpmeta is using stdout, allowing write failures to propagate safely through the existing error path. Handle CD extraction read failures. extractcd currently ignores the return values from cdrom_file::read_data() and read_subcode(). If a sector or subcode read fails, extraction can continue and write invalid data to the output files. Check both return values and abort extraction on failure so the existing error cleanup path removes the incomplete output (tools\chdman.cpp).
    . Enforce audio channel limit consistently for AVHuff. AVHuff's decoder configuration provides storage for up to 16 audio channels, but the channel count read from AVHuff data was not checked against this limit before being used to index fixed-size channel arrays. Malformed input specifying more than 16 channels could therefore access these arrays out of bounds. Define the existing 16-channel AVHuff implementation limit in one place and enforce it in the encoder, assembler and decoder before channel-dependent arrays are accessed. chdman also used an eight-channel local array and silently limited AVI input to eight channels. Use the shared AVHuff limit there as well, allowing up to 16 channels and explicitly rejecting inputs or A/V metadata that exceed the supported limit. GPT-5.6 Sol (OpenAI) was used to review the affected code, identify the channel-limit issue, and help prepare the patch. All changes were manually reviewed and applied by me (util\avhuff.cpp and tools\chdman.cpp).
  . 3RDPARTY
    . Updated ASIO to version 1.38.2, Expat 2.8.3, GLM to 1.0.3, LSQLite3 to 0.9.7, Lua to 5.4.8, LZMA to 26.02, PUGIXML to 1.16, SQLite3 to 3.53.4, utf8proc to 2.11.3 and ZSTD to 1.5.7.
    . Revert MAME 0.289 "plugins/keypress: New plugin for recording player behaviour (#15379)". See mamedev/mame-goodies@d1c9005386b6af654e50d3d462d11743575c7418 for a better implementation of the concept.
    . Don't reassign for loop control variables. Control variables in for loops are read-only under Lua 5.5 (plugins\data\data_story.lua und plugins\data\load_dat.lua). Reduced the number of hash lookups during loading (plugins\data\*).
    . Added remaining AES 3rdparty libs (3rdparty\aes*\*).
  . UTILs
    . Added a function for converting system clock time points to NTFS timestamps (util\timeconv.cpp). Moved some PKZIP format constants to a header (util\pkzipdefs.h and util\unzip.cpp). Fixed error checking for LZMA (ZIP method 14) decompression. Regression caused the code to always behave as if LZMA properties were unsupported (util\unzip.cpp).
    . Added initial support for creating PKZIP archives (util\archiver.cpp). Added functions that take a reference to a stream rather than a smart pointer that don't take ownership. This makes it clearer than using core_file::open_proxy which doens't extend the lifetime anyway (util\chd.cpp, util\unzip.cpp and util\un7z.cpp). Added some error checks that had been overlooked (util\un7z.cpp and imagedev\diablo.cpp). Got rid of core_file dependency in a lot of places, use I/O interfaces instead. Stage the correct set of changes (util\chd.cpp).
    . Removed text writing functions (util\corefile.cpp and emu\fileio.cpp). Added an output stream buffer for writing text to a write_stream with line ending translation and/or transcoding to UTF-16 (util\ioprocsstream.cpp). Declare UTF-8 encoding in the XML declaration rather than the non-standard practice of prepending an encoded U+FEFF (util\xmlfile.cpp and mame\cheat.cpp). Fixed line ending translation not being applied for certain parts of the HTML output (tools\regrep.cpp).
    . Subtract headers no longer required here (util\corefile.cpp).
    . Link OpenH264 dynamically (util\openh264dec.cpp). Note: This will work if the user puts a Cisco OpenH264 binary in the library search path. It works with OpenH264 2.1.1 to 2.7.0 despite the library version changing on Linux. Exact names to search can be changed if necessary.
  . Save state: Added pre-load hook for save states (emu\save.cpp)
  . Consolidate drivers into single file (sidearms.cpp and tceptor.cpp)
- MAC OS X
  . Revised macOS-native OSD. Not the default yet, but users and developers on macOS are encouraged to try it (build with OSD=mac). Supports soft (CoreGraphics), opengl, and bgfx video modes. Controllers are supported via both classic and auto-mapping/MFi providers. -video none does not bring up a visible window in order to facilitate more seamless automated and/or LLM-driven testing, but the menu bar and Dock "quit" methods still work if a -video none MAME gets away from you. Window resizing is kept aspect-ratio compliant when MAME -keepaspect is enabled. Supports multiple windows and multiple monitors, including using an iPad for Sidecar mode. Claude Opus 4.8 and 5 assisted with debugging, planning, and interpreting the more vague parts of Apple's documentation.
  . MacBook PROLED touchscreen support, fixed crashing when MAME is run sandboxed (e.g. by an LLM) and fixed an unlikely bug in SDL/SDL3 touch. Touch API research, some implementation ideas, and sandbox crash fixes assisted by GPT-6 Astra [R. Belmont].
- VGM player: Added QSound FIFO to work around bad rips. VGM rips have been created with high-level QSound DSP simulations that can respond to commands as fast as the host sends them. This causes commands to be missed when using DSP emulation. This can easily be observed with the sfex2p from the vgmplay software list. This adds a QSound command FIFO in vgmplay to work around the issues. It currently only works with DSP emulation, it breaks with the high-level simulation (virtual\vgmplay.cpp).
- Compiling
  . Updated Android builds to use SDL3. Use SDL_INSTALL_ROOT to get proper pkg-config settings and extract include too (osd/sdl3). Make build use OSD=sdl3 by default and fixed compilation. Updated gradle, sdk and java code to SDL3. Fixed sdk warnings (android). Should use pkg-config as others. Require only EMSDK and update docs (asmjs).
  . Attempted fix for Windows build related to gruesome header name collision. Worked aroung non-debug build failing on current Clang 23.1.3 Windows environment. Reinstated window_thread as per feedback (windows\window.cpp)
  . Removed #include "sound.h and "video.h" from emu\emu.h
  . Renamed osd\windows\video.cpp/h to osd\windows\winvideo.cpp/h to resolve header name collision 
  . Replaced eminline bit manipulation functions with C++20's <bit> (formats\aiffile.cpp, formats\ap_dsk35.cpp, util\hashing.cpp and util\msdib.cpp). Retire rot[lr]_32 and rot[lr]_64 inline functions in favor of std::rot[lr] from C++20's <bit> (osd\eminline.h).
  . Cleaned up various things, mostly where .c_str() is unnecessary (isa\isa.cpp, imagedev\harddriv.cpp, sound\disc_inp.hxx, emu\emuopts.cpp, emu\image.cpp and util\timeconv.cpp).
  . Fixed build with ZLIB_CONST defined (util\ioprocsfilter.cpp). Build libformats and libutils with ZLIB_CONST defined.
  . Use read/write stream interfaces rather than core_file where possible (emu\video.cpp).
  . Use util::(big|little)_endian_cast for address swizzling in various places (glass.cpp, irobot_m.cpp, n64_m.cpp, popobear.cpp, raiden2.cpp, tapatune.cpp and tatsumi.cpp)
  . Added support to create a JSON compilation database.
  . Got rid of driver_start and driver_reset. These are leftovers from the pre-device world where driver_start/driver_reset were for drivers\*.* and machine_start/machine/reset were for machine\*.*. Having both of them just makes things confusing, and there was a clear preference for the "machine" variants.
  . Got rid of a log of obsolete .c_str() calls (cpu\* and sound\swp30.cpp). Cleaned up comments marking hacks/workarounds for emulation issues. Also use consistent format for MAME Testers issue references.
  . Added some missing standard headers (formats\rpk.h and util\avhuff.h). Made some bit manipulations a bit less scary-looking (no change in behaviour) (video\pc_vga_cirrus.cpp and video\ygv625.cpp). Marked various functions cold.
  . Use std::abs instead of abs, allows Clang 23.1.4 builds on Windows to complete (machine/atastorage.cpp and audio_effects/eq.cpp). Use bitswap<>() for shuffling bits (contra.cpp, fastlane.cpp, flkatck.cpp, hcastle.cpp and labyrunr.cpp).
- Debugger
  . GDB stub debugger (gdbstub)
    . Proper Z80 architecture support in the gdbstub. Assisted by GLM-5.1. REF: ttps://sourceware.org/git/\?p\=binutils-gdb.git\;a\=blob_plain\;f\=gdb/features/z80.c\;hb\=HEAD (debugger\debuggdbstub.cpp, z80\kc82.h, z80\z80.cpp and z80\z84c015.h).
    . Answer qOffsets so symbol files load unrelocated. GDB asks for the section offsets of the running target when a symbol file is loaded; without an answer it applies its default relocation and symbol addresses stop matching the emulated address space. The CPU address space is not relocated, so reply with all-zero offsets: a symbol file linked at its runtime addresses and loaded with "file"/"add-symbol-file" is used as-is. Assisted by GLM-5.1. Example (Z80, symbol file linked at its runtime addresses): (gdb) file boot.elf, (gdb) target remote 127.0.0.1:12000, 0x00000000 in ?? (), (gdb) break boot_continue and Breakpoint 1 at 0x69 (debugger\debuggdbstub.cpp).
    . gdbstub socket lifecycle fixes: * Opening the listening socket at the first stop threw the fatal error from inside the instruction hook, crashing MAME with a segfault when the port was already taken. The socket is now bound in init_debugger and the fatal error is deferred to a reset notifier, which fires inside running_machine::run's exception handler and exits cleanly. * On detach the connection is closed once the reply has been flushed, so the port is free for another listener. Assisted by GLM-5.1 (debugger\debuggdbstub.cpp).
    . Expose all device state entries to the gdbstub. Generate target.xml dynamically from the live state entries instead of assuming the static per-arch register map matches, and append the visible state entries of all other devices (driver state, attached device registers) as mame.<path> features, one register group per device named after its absolute path (the device tag with ':' mapped to '/'). The g/G/p/P packets are refused until the client has read the description so early probes cannot be misdecoded by regnum. Assisted by GLM-5.1 (debugger\debuggdbstub.cpp).
    . Added a register map for the NEC V20/V30/V33 family. Refresh display after memory writes and monitor commands (debugger\debuggdbstub.cpp). Added a register map for the MC68010. The same registers as the 68000's, as with the 68020 and 68030 maps (debugger\debuggdbstub.cpp).
  . Fixed a crash on exit after a fatal error under the debugger. device_scheduler::timeslice() brackets a CPU's run() with the debugger's start and stop hooks and nothing on the unwinding path, so a fatal error thrown while a CPU executes (a CPU core's fatalerror(), or a debugger hook such as the gdbstub refusing a CPU it has no register map for) leaves that CPU live. During the exit notifiers, device_t::stop() resets each device_debug, and std::unique_ptr::reset() stores null before the destructor runs. ~device_debug() clears its breakpoints and registerpoints, which ends in breakpoint_update_flags() calling compute_debug_flags() through the live CPU's debug(), which is null from the moment that CPU's own device_debug is destroyed. The flags are no longer refreshed through a live CPU that has no device_debug. While the machine runs a CPU only becomes live through its own debug(), so this changes nothing on any other path (debug\debugcpu.cpp).
  . Make Run to Next CPU skip execute devices without a state interface (debug\debugcpu.cpp). Fixed crash on exit by closing debugger windows before the console text buffers are freed. Assisted by Claude Opus 5.5 (debugger\debugosx.mm).

-




(c) 2026  M.A.S.H